-
Notifications
You must be signed in to change notification settings - Fork 17
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
pnpm install gives error #2
Comments
Hello @kardeepak77, Thank you for getting in touch with us. We've cloned the repository on a Windows system and proceeded with the installation. We encountered no issues during the execution of pnpm install. The installation process was remarkably smooth. I kindly urge you to give it another try with a fresh installation. If you still face issue, please let me know. |
This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you for raising the concern. |
This issue has been automatically marked as closed because it has no recent activity. |
This happens when the path is too long. Windows has a 260 character path limit. Most of the workarounds don't work. You can use npm/yarn instead or pnpm with node-linker=hoisted, or just use a shorter/mounted directory. In newer versions of node.js these issues don't appear if you've |
Steps to reproduce
What is expected?
Installation to be successful without error.
What is actually happening?
[12:10:23 PM] ERROR Cannot find package 'C:\Project\SucessManagement\Tutorials\materio-vuetify-nuxtjs-admin-template-free-1.0.0\typescript-version\node_modules.pnpm\nuxt@3.9.1_@types+node@20.10.6_eslint@8.56.0_sass@1.69.7_stylelint@15.11.0_typescript@5.3.3_vite@5.0.10\node_modules\esbuild\package.json' imported from C:\Project\SucessManagement\Tutorials\materio-vuetify-nuxtjs-admin-template-free-1.0.0\typescript-version\node_modules.pnpm\nuxt@3.9.1_@types+node@20.10.6_eslint@8.56.0_sass@1.69.7_stylelint@15.11.0_typescript@5.3.3_vite@5.0.10\node_modules\nuxt\dist\index.mjs
Did you mean to import esbuild@0.19.11/node_modules/esbuild/lib/main.js?
Did you mean to import esbuild@0.19.11/node_modules/esbuild/lib/main.js?
at legacyMainResolve (node:internal/modules/esm/resolve:214:26)
at packageResolve (node:internal/modules/esm/resolve:840:14)
at moduleResolve (node:internal/modules/esm/resolve:910:20)
at defaultResolve (node:internal/modules/esm/resolve:1130:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap. (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36)
[12:10:23 PM] ERROR Cannot find package 'C:\Project\SucessManagement\Tutorials\materio-vuetify-nuxtjs-admin-template-free-1.0.0\typescript-version\node_modules.pnpm\nuxt@3.9.1_@types+node@20.10.6_eslint@8.56.0_sass@1.69.7_stylelint@15.11.0_typescript@5.3.3_vite@5.0.10\node_modules\esbuild\package.json' imported from C:\Project\SucessManagement\Tutorials\materio-vuetify-nuxtjs-admin-template-free-1.0.0\typescript-version\node_modules.pnpm\nuxt@3.9.1_@types+node@20.10.6_eslint@8.56.0_sass@1.69.7_stylelint@15.11.0_typescript@5.3.3_vite@5.0.10\node_modules\nuxt\dist\index.mjs
Did you mean to import esbuild@0.19.11/node_modules/esbuild/lib/main.js?
ELIFECYCLE Command failed with exit code 1.
Additional data
The text was updated successfully, but these errors were encountered: