Error when runnin "pnpm run dev" #94
Replies: 2 comments 3 replies
-
This might have be related to the contentlayer build error I am facing. I will remove it probably. |
Beta Was this translation helpful? Give feedback.
-
@sadmann7 I'm facing this same issue 6 months later:
node:internal/process/promises:289 Error: Cannot find package 'C:\Users\sljevar\My\React_Projects\Cloned_Projects\skateshop\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.15.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_hsy4udf4govtgl6exbqmlsupky\node_modules@opentelemetry\exporter-trace-otlp-grpc\package.json' imported from C:\Users\sljevar\My\React_Projects\Cloned_Projects\skateshop\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.15.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_hsy4udf4govtgl6exbqmlsupky\node_modules@effect-ts\otel-exporter-trace-otlp-grpc_mjs\index.mjs Node.js v20.5.0 So how can I solve this problem? |
Beta Was this translation helpful? Give feedback.
-
Hey :)
I have cloned the repository to my computer and followed the steps. Everything was great but when I ran pnpm run dev I am getting the following error : node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
Error: Cannot find package 'C:\Users\matan\OneDrive\Desktop\Aurora\FrontEnd\Ecommerce\shoptemplate\skateshop\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.15.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_jvrkmvskltyhwsrv25hlh7qiie\node_modules@opentelemetry\exporter-trace-otlp-grpc\package.json' imported from C:\Users\matan\OneDrive\Desktop\Aurora\FrontEnd\Ecommerce\shoptemplate\skateshop\node_modules.pnpm@effect-ts+otel-exporter-trace-otlp-grpc@0.15.1_@effect-ts+core@0.60.5_@opentelemetry[email protected]_jvrkmvskltyhwsrv25hlh7qiie\node_modules@effect-ts\otel-exporter-trace-otlp-grpc_mjs\index.mjs
Did you mean to import @opentelemetry+exporter-trace-otlp-grpc@0.39.1_@opentelemetry[email protected]/node_modules/@opentelemetry/exporter-trace-otlp-grpc/build/src/index.js?
at legacyMainResolve (node:internal/modules/esm/resolve:189:26)
at packageResolve (node:internal/modules/esm/resolve:776:14)
at moduleResolve (node:internal/modules/esm/resolve:838:20)
at defaultResolve (node:internal/modules/esm/resolve:1043:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:383:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:352:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:228:38)
at ModuleWrap. (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
Node.js v20.9.0
ELIFECYCLE Command failed with exit code 1.
I have searched everywhere for the answer and did everything ( Clear cache, run pnpm install again, etc.)
The package does appear in my package.json and in pnpm-lock.yarn files.
Does anyone has any idea?
Beta Was this translation helpful? Give feedback.
All reactions