DontMindME
DontMindME
NNuxt
Created by DontMindME on 5/24/2024 in #❓・help
Issues with NPM Install on a Nuxt3 project
[14:31:35] ERROR Cannot find module '@intlify/devtools-if/dist/devtools-if.esm-bundler.js'
Require stack:
- {removedPath}\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]_@[email protected][email protected]_hx3ogzdtn6day64erdxeksgdfq\node_modules\@intlify\nuxt3\dist\module.mjs

 ELIFECYCLE  Command failed with exit code 1.
[14:31:35] ERROR Cannot find module '@intlify/devtools-if/dist/devtools-if.esm-bundler.js'
Require stack:
- {removedPath}\node_modules\.pnpm\@[email protected][email protected][email protected][email protected]_@[email protected][email protected]_hx3ogzdtn6day64erdxeksgdfq\node_modules\@intlify\nuxt3\dist\module.mjs

 ELIFECYCLE  Command failed with exit code 1.
To replicate the issue, clone this repo and then attempt to install npm. You will see the same issue that I am having. I am more than happy to provide any extra information required to fix the issue. These are the dependencies:
{
"private": true,
"packageManager": "[email protected]",
"scripts": {
"build": "nuxi build",
"generate": "nuxi generate",
"postinstall": "nuxi prepare",
"dev": "nuxi dev",
"lint": "eslint ."
},
"devDependencies": {
"@antfu/eslint-config": "^0.26.3",
"@iconify-json/carbon": "^1.1.8",
"@iconify-json/twemoji": "^1.1.5",
"@intlify/nuxt3": "^0.2.4",
"@nuxtjs/color-mode": "^3.1.5",
"@nuxtjs/tailwindcss": "^5.3.3",
"@pinia/nuxt": "^0.4.2",
"@vueuse/nuxt": "^9.2.0",
"eslint": "^8.23.1",
"gulp": "^4.0.2",
"gulp-image-resize": "^0.13.1",
"nuxt": "^3.0.0-rc.11",
"pinia": "^2.0.22",
"tailwindcss-dark-mode": "^1.1.4",
"typescript": "^4.8.3",
"vue-i18n": "^9.2.2"
},
"dependencies": {
"@egjs/vue3-flicking": "^4.10.0",
"@pinia-orm/nuxt": "^1.1.0",
"primeicons": "^6.0.1",
"primevue": "^3.17.0",
"vue-cookies": "^1.8.1"
}
}
{
"private": true,
"packageManager": "[email protected]",
"scripts": {
"build": "nuxi build",
"generate": "nuxi generate",
"postinstall": "nuxi prepare",
"dev": "nuxi dev",
"lint": "eslint ."
},
"devDependencies": {
"@antfu/eslint-config": "^0.26.3",
"@iconify-json/carbon": "^1.1.8",
"@iconify-json/twemoji": "^1.1.5",
"@intlify/nuxt3": "^0.2.4",
"@nuxtjs/color-mode": "^3.1.5",
"@nuxtjs/tailwindcss": "^5.3.3",
"@pinia/nuxt": "^0.4.2",
"@vueuse/nuxt": "^9.2.0",
"eslint": "^8.23.1",
"gulp": "^4.0.2",
"gulp-image-resize": "^0.13.1",
"nuxt": "^3.0.0-rc.11",
"pinia": "^2.0.22",
"tailwindcss-dark-mode": "^1.1.4",
"typescript": "^4.8.3",
"vue-i18n": "^9.2.2"
},
"dependencies": {
"@egjs/vue3-flicking": "^4.10.0",
"@pinia-orm/nuxt": "^1.1.0",
"primeicons": "^6.0.1",
"primevue": "^3.17.0",
"vue-cookies": "^1.8.1"
}
}
3 replies
NNuxt
Created by DontMindME on 5/24/2024 in #❓・help
Issues with NPM Install on a Nuxt3 project
I then switched to pnpm just as an insanity check and it succeeded and made it past the dependency check but then i got another error stating that the module @intlify/devtools-if couldn't be found, causing another crash. THis is the full error:
[14:31:35] ERROR Cannot find module '@intlify/devtools-if/dist/devtools-if.esm-bundler.js'
m/[email protected]_@[email protected]_@[email protected]_@[email protected]_@unocss+reset_d7usr525b2ou66nijsmdqq5x4u/node_modules/nuxt/dist/index.mjs:4331:5)
at async loadNuxt (/{removedPath}/node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2570:19)
at async Object.run (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/prepare.mjs:53:18)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1648:16)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/num/[email protected]_@[email protected]_@[email protected]_@[email protected]_@unocss+reset_d7usr525b2ou66nijsmdqq5x4u/node_modules/nuxt/dist/index.mjs:4331:5)
at async loadNuxt (/{removedPath}/node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2570:19)
at async Object.run (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/prepare.mjs:53:18)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1648:16)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1639:11)
at async runMain$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1777:7)
[14:31:35] ERROR Cannot find module '@intlify/devtools-if/dist/devtools-if.esm-bundler.js'
m/[email protected]_@[email protected]_@[email protected]_@[email protected]_@unocss+reset_d7usr525b2ou66nijsmdqq5x4u/node_modules/nuxt/dist/index.mjs:4331:5)
at async loadNuxt (/{removedPath}/node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2570:19)
at async Object.run (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/prepare.mjs:53:18)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1648:16)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/num/[email protected]_@[email protected]_@[email protected]_@[email protected]_@unocss+reset_d7usr525b2ou66nijsmdqq5x4u/node_modules/nuxt/dist/index.mjs:4331:5)
at async loadNuxt (/{removedPath}/node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2570:19)
at async Object.run (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/chunks/prepare.mjs:53:18)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1648:16)
at async runCommand$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1639:11)
at async runMain$1 (/{removedPath}/node_modules/.pnpm/[email protected]/node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1777:7)
3 replies