Open moHaHa opened 1 year ago
I update nodejs to v18.16.0 , then I tried again I got the same error 🚨
I just was reading my issue , I felt like why I mentioned my project folder name, anyways .... after few minutes when I was reading the error I noteced something why this error inclode path that out of my project dir ⁉
file:///C:/Users/Mohammad/source/mhacd-jameel/
so I try to degit
it in other dir C:\Users\Mohammad\source\Nuxt
as try-vitesse-nuxt3
then run pnpm i
and this worked fine ✅
install it, then try again
@zhang771
$ pnpm i @nuxt/kit
WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
WARN deprecated @npmcli/move-file@2.0.1: This functionality has been moved to @npmcli/fs
WARN deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
Packages: +9 -1
+++++++++-
Progress: resolved 1217, reused 1187, downloaded 8, added 9, done
dependencies:
+ @nuxt/kit 3.4.3
Done in 1m 32.3s
Mohammad@DESKTOP-C3DO6N4 MINGW64 ~/source/mhacd-jameel/#1-Almodon-Alarabia-Holding/try-vitesse-nuxt3 (main)
$ pnpm i
Lockfile is up to date, resolution step is skipped
Already up to date
> @ postinstall C:\Users\Mohammad\source\mhacd-jameel\#1-Almodon-Alarabia-Holding\try-vitesse-nuxt3
> nuxi prepare
Nuxi 3.4.0 7:42:43 AM
[7:42:44 AM] ERROR Error: Cannot find module @nuxt/kit imported from file:///C:/Users/Mohammad/source/mhacd-jameel/#1-Almodon-Alarabia-Holding/try-vitesse-nuxt3/node_modules/.pnpm/nuxt@3.4.0_@types+node@18.14.0_eslint@8.38.0_rollup@2.79.1_typescript@4.9.5_vue-tsc@1.2.0/node_modules/nuxt/dist/index.mjs, file:///C:/Users/Mohammad/source/mhacd-jameel/, file:///C:/Users/Mohammad/source/mhacd-jameel/_index.js, file:///C:/Users/Mohammad/source/mhacd-jameel/node_modules
at resolvePath (/C:/Users/Mohammad/source/mhacd-jameel/%231-Almodon-Alarabia-Holding/try-vitesse-nuxt3/node_modules/.pnpm/nuxi@3.4.0/node_modules/nuxi/dist/shared/nuxi.da4c08ec.mjs:7513:10)
at importModule (/C:/Users/Mohammad/source/mhacd-jameel/%231-Almodon-Alarabia-Holding/try-vitesse-nuxt3/node_modules/.pnpm/nuxi@3.4.0/node_modules/nuxi/dist/shared/nuxi.1d8d2e21.mjs:11:30)
at loadKit (/C:/Users/Mohammad/source/mhacd-jameel/%231-Almodon-Alarabia-Holding/try-vitesse-nuxt3/node_modules/.pnpm/nuxi@3.4.0/node_modules/nuxi/dist/shared/nuxi.0318c2bd.mjs:7:18)
at async Object.invoke (/C:/Users/Mohammad/source/mhacd-jameel/%231-Almodon-Alarabia-Holding/try-vitesse-nuxt3/node_modules/.pnpm/nuxi@3.4.0/node_modules/nuxi/dist/chunks/prepare.mjs:31:26)
at async _main (/C:/Users/Mohammad/source/mhacd-jameel/%231-Almodon-Alarabia-Holding/try-vitesse-nuxt3/node_modules/.pnpm/nuxi@3.4.0/node_modules/nuxi/dist/cli.mjs:47:20)
ELIFECYCLE Command failed with exit code 1.
Describe the bug
I just
degit antfu/vitesse-nuxt3
aah-nuext3, then in/aah-nuext3
I runpnpm i
as you can seeReproduction
local
System Info
Used Package Manager
pnpm
Validations