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

Nuxt layer start error #1740

Closed
BrutCZE opened this issue Dec 15, 2022 · 7 comments · Fixed by #1768
Closed

Nuxt layer start error #1740

BrutCZE opened this issue Dec 15, 2022 · 7 comments · Fixed by #1768
Labels
🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage v8

Comments

@BrutCZE
Copy link

BrutCZE commented Dec 15, 2022

Environment

RootDir: /app 15:43:11
Nuxt project info: 15:43:11


  • Operating System: Linux
  • Node Version: v18.12.1
  • Nuxt Version: 3.0.0
  • Nitro Version: 1.0.0
  • Package Manager: yarn@3.3.0
  • Builder: vite
  • User Config: srcDir, css, build, sourcemap, typescript, vite, imports, modules, i18n, nitro
  • Runtime Modules: @nuxtjs/i18n@8.0.0-beta.7, @pinia/nuxt@0.4.6, @vueuse/nuxt@9.6.0
  • Build Modules: -

Reproduction

I just run npx nuxi init --template layer nuxt-layer, add @nuxtjs/i18n@8.0.0-beta.7 module and run yarn dev

Describe the bug

There will be bug in resolution of @intlify/vue-router-bridge.

Additional context

I found workaround by create symlink ln -s <projectRoot>/node_modules/ <projectRoot>/.playground/node_modules.

Logs

ERROR  Cannot start nuxt:  Cannot resolve @intlify/vue-router-bridge on yarn! please install it on 'node_modules'                                                                                                                                                   15:36:45

  at tryResolve (node_modules/@nuxtjs/i18n/dist/module.mjs:111:9)
  at async setupAlias (node_modules/@nuxtjs/i18n/dist/module.mjs:233:47)
  at async setup (node_modules/@nuxtjs/i18n/dist/module.mjs:865:5)
  at async normalizedModule (node_modules/@nuxtjs/i18n/node_modules/@nuxt/kit/dist/index.mjs:167:5)
  at async installModule (node_modules/nuxt/node_modules/@nuxt/kit/dist/index.mjs:416:3)
  at async initNuxt (node_modules/nuxt/dist/index.mjs:1825:7)
  at async load (node_modules/nuxi/dist/chunks/dev.mjs:6779:9)
  at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6840:5)
  at async _main (node_modules/nuxi/dist/cli.mjs:50:20)
@ineshbose
Copy link
Collaborator

Sandbox for reproduction (still need to install @nuxtjs/i18n): https://stackblitz.com/github/nuxt/starter/tree/layer

@ineshbose ineshbose added the v8 label Dec 15, 2022
Copy link
Collaborator

kazupon commented Dec 16, 2022

Thank you for your reporting!

We need reproduction github repo or stackbliz.
You can setup with stackbliz that is mentioned by ineshbose

Could you give us it, please?

@BrutCZE
Copy link
Author

BrutCZE commented Dec 22, 2022

Copy link
Collaborator

kazupon commented Dec 23, 2022

Thanks! I'll fix this issue!

@kazupon kazupon added the 🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage label Dec 23, 2022 — with Volta.net
Copy link
Collaborator

kazupon commented Dec 26, 2022

Hi!
I fixed this issue yesterday.
You can try to install edge version 8.0.0-beta.7-27866425.e93ce7b

Thanks!

Copy link
Collaborator

kazupon commented Dec 26, 2022

That fixed will be included on v8.0.0-beta.8 soon.

@litingyes
Copy link

That fixed will be included on v8.0.0-beta.8 soon.

hope it can be faster 🙏🙏🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage v8
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants