-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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 when running "pnpm dev" #280
Comments
Add ^ symbol to install the latest version of the next and others, it will fix the issue. Example : |
I added ^ only to next cause I already had ^ in others, but I am getting the same error again, [0] Error: Cannot find package 'C:\Users\sljevar\My\React_Projects\Cloned_Projects\taxonomy\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.14.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_5qiaqvz2dty7ujax4z3hmc2i4m\node_modules@opentelemetry\exporter-trace-otlp-grpc\package.json' imported from C:\Users\sljevar\My\React_Projects\Cloned_Projects\taxonomy\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.14.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_5qiaqvz2dty7ujax4z3hmc2i4m\node_modules@effect-ts\otel-exporter-trace-otlp-grpc_mjs\index.mjs Any solution? |
@naymurdev A big thank you man! The problem has been fixed now. Shout-out to you man!! |
`> [email protected] dev C:\Users\rendiichtiar\Documents\Dokumen Pribadi\Project Website\taxonomy
[0] Error: Cannot find package 'C:\Users\rendiichtiar\Documents\Dokumen Pribadi\Project Website\taxonomy\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.14.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_5qiaqvz2dty7ujax4z3hmc2i4m\node_modules@opentelemetry\exporter-trace-otlp-grpc\package.json' imported from C:\Users\rendiichtiar\Documents\Dokumen Pribadi\Project Website\taxonomy\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.14.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_5qiaqvz2dty7ujax4z3hmc2i4m\node_modules@effect-ts\otel-exporter-trace-otlp-grpc_mjs\index.mjs
[0] Did you mean to import @opentelemetry+exporter-trace-otlp-grpc@0.31.0_@opentelemetry[email protected]/node_modules/@opentelemetry/exporter-trace-otlp-grpc/build/src/index.js?
[0] at legacyMainResolve (node:internal/modules/esm/resolve:214:26)
[0] at packageResolve (node:internal/modules/esm/resolve:840:14)
[0] at moduleResolve (node:internal/modules/esm/resolve:910:20)
[0] at defaultResolve (node:internal/modules/esm/resolve:1130:11)
[0] at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
[0] at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
[0] at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
[0] at ModuleWrap. (node:internal/modules/esm/module_job:85:39)
[0] at link (node:internal/modules/esm/module_job:84:36) {
[0] code: 'ERR_MODULE_NOT_FOUND'
[0] }
[1] ready - started server on 0.0.0.0:3000, url: http://localhost:3000
[1] info - Loaded env from C:\Users\rendiichtiar\Documents\Dokumen Pribadi\Project Website\taxonomy.env.local
[1] error - Failed to load next.config.mjs, see more info here https://nextjs.org/docs/messages/next-config-error
[1] Error: Cannot find package 'C:\Users\rendiichtiar\Documents\Dokumen Pribadi\Project Website\taxonomy\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.14.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_5qiaqvz2dty7ujax4z3hmc2i4m\node_modules@opentelemetry\exporter-trace-otlp-grpc\package.json' imported from C:\Users\rendiichtiar\Documents\Dokumen Pribadi\Project Website\taxonomy\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.14.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_5qiaqvz2dty7ujax4z3hmc2i4m\node_modules@effect-ts\otel-exporter-trace-otlp-grpc_mjs\index.mjs
[1] Did you mean to import @opentelemetry+exporter-trace-otlp-grpc@0.31.0_@opentelemetry[email protected]/node_modules/@opentelemetry/exporter-trace-otlp-grpc/build/src/index.js?
[1] at legacyMainResolve (node:internal/modules/esm/resolve:214:26)
[1] at packageResolve (node:internal/modules/esm/resolve:840:14)
[1] at moduleResolve (node:internal/modules/esm/resolve:910:20)
[1] at defaultResolve (node:internal/modules/esm/resolve:1130:11)
[1] at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
[1] at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
[1] at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
[1] at ModuleWrap. (node:internal/modules/esm/module_job:85:39)
[1] at link (node:internal/modules/esm/module_job:84:36) {
[1] type: 'Error',
[1] code: 'ERR_MODULE_NOT_FOUND'
[1] }
[1] next dev exited with code 1
[0] contentlayer dev exited with code 0
ELIFECYCLE Command failed with exit code 1.`
The text was updated successfully, but these errors were encountered: