-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'player.style' #327
Comments
Same issue here! Node 20, locally and in Vercel. I solved, downgrading to the version 1.4.0. |
could you try removing node_modules and re-installing? (maybe the lock file didn't update correctly) I haven't experienced this issue on my end. |
I re-updated to the latest version, deleted the node_modules, reinstalled... When i push on vercel, same error as before.
|
The issue occurs only when deploying via Vercel:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'player.style' imported from /var/task/node_modules/next-video/dist/components/players/default-player.js at packageResolve (node:internal/modules/esm/resolve:858:9) at moduleResolve (node:internal/modules/esm/resolve:931:18) at moduleResolveWithNodePath (node:internal/modules/esm/resolve:1173:14) at defaultResolve (node:internal/modules/esm/resolve:1216:79) at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12) at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25) at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38) at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40) at link (node:internal/modules/esm/module_job:95:36) { code: 'ERR_MODULE_NOT_FOUND', page: '/helpers/alerts' }
package.json:
{ "next-video": "2.0.0", "player.style": "^0.1.1" }
The text was updated successfully, but these errors were encountered: