Skip to content
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

[ERROR] Cannot start nuxt: Cannot find module #1

Closed
MohmmedAshraf opened this issue Jan 4, 2022 · 4 comments
Closed

[ERROR] Cannot start nuxt: Cannot find module #1

MohmmedAshraf opened this issue Jan 4, 2022 · 4 comments

Comments

@MohmmedAshraf
Copy link

Hi, I have a fresh nuxt3 install when trying to install tailvue, I got this error even on Stackblitz

Stackblitz: https://stackblitz.com/edit/github-8amzbs?file=nuxt.config.ts

 ERROR  Cannot start nuxt:  Cannot find module '/home/projects/github-8amzbs/node_modules/@tailvue/nuxt/dist/module.cjs'                                      15:42:23

  at createEsmNotFoundErr (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:163045)
  at finalizeEsmResolution (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:162950)
  at resolveExports (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:160058)
  at Function.Module._findPath (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:160592)
  at Function.Module._resolveFilename (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:165652)
  at Function.resolve (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:427541)
  at Function.p [as resolve] (node_modules/jiti/dist/jiti.js:1:53000)
  at resolveModule (node_modules/@nuxt/kit/dist/index.mjs:123:36)
  at Module.installModule (node_modules/@nuxt/kit/dist/index.mjs:1286:18)
  at initNuxt (node_modules/nuxt3/dist/index.mjs:893:21)

Thanks

@acidjazz
Copy link
Member

acidjazz commented Jan 4, 2022

Thanks for reporting this @MohmmedAshraf - looks like this is our culprit: egoist/rollup-plugin-esbuild#325

@acidjazz
Copy link
Member

acidjazz commented Jan 4, 2022

@MohmmedAshraf until i get this issue fixed, feel free to use https://github.com/fumeapp/tailvue/releases/tag/v0.1.52 , should work fine

@MohmmedAshraf
Copy link
Author

@acidjazz previous version works fine, thank you

@eyopa21
Copy link

eyopa21 commented Apr 24, 2023

Hi, I have a fresh nuxt3 install when trying to install tailvue, I got this error even on Stackblitz

Stackblitz: https://stackblitz.com/edit/github-8amzbs?file=nuxt.config.ts

 ERROR  Cannot start nuxt:  Cannot find module '/home/projects/github-8amzbs/node_modules/@tailvue/nuxt/dist/module.cjs'                                      15:42:23

  at createEsmNotFoundErr (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:163045)
  at finalizeEsmResolution (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:162950)
  at resolveExports (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:160058)
  at Function.Module._findPath (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:160592)
  at Function.Module._resolveFilename (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:165652)
  at Function.resolve (https://github-8amzbs.w.staticblitz.com/blitz.bc2b78560fa0e6097e7f69d4e820659cab64d2c5.js:6:427541)
  at Function.p [as resolve] (node_modules/jiti/dist/jiti.js:1:53000)
  at resolveModule (node_modules/@nuxt/kit/dist/index.mjs:123:36)
  at Module.installModule (node_modules/@nuxt/kit/dist/index.mjs:1286:18)
  at initNuxt (node_modules/nuxt3/dist/index.mjs:893:21)

Thanks

Use @tailvue/nuxt instead,
yarn add --dev @tailvue/nuxt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants