-
Notifications
You must be signed in to change notification settings - Fork 103
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Environment
- Operating System:
Darwin - Node Version:
v22.14.0 - Nuxt Version:
3.17.5 - CLI Version:
3.25.1 - Nitro Version:
2.11.12 - Package Manager:
[email protected] - Builder:
- - User Config:
- - Runtime Modules:
- - Build Modules:
-
Reproduction
I opened a PR with the failing example under app-vitest-layers. #1329
I'm going to work on implementing a fix.
Describe the bug
Cannot E2E test applications that depend on layers where the dependency is not installed in the global node_modules path
Additional context
No response
Logs
❯ nuxt test/dev.e2e.spec.ts (1 test | 1 skipped) 291ms
↓ server (dev) > runs a test
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
FAIL nuxt test/dev.e2e.spec.ts [ test/dev.e2e.spec.ts ]
TypeError: Could not load `@nuxtjs/tailwindcss`. Is it installed?
❯ loadNuxtModuleInstance ../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2575:9
❯ installModule ../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2486:73
❯ initNuxt ../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_e441e6eb02f3916598e538e1e9eea283/node_modules/nuxt/dist/shared/nuxt.DAkeCY9U.mjs:5853:11
❯ loadNuxt ../../node_modules/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_e441e6eb02f3916598e538e1e9eea283/node_modules/nuxt/dist/shared/nuxt.DAkeCY9U.mjs:6078:5
❯ Module.loadNuxt ../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@nuxt/kit/dist/index.mjs:2721:19
❯ loadFixture ../../src/e2e/nuxt.ts:58:16
❯ beforeAll ../../src/e2e/setup/index.ts:47:7