question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot start nuxt on version v3.0.0-rc.2-27526179.f74a523

See original GitHub issue

Environment

Nuxt CLI v3.0.0-rc.2-27526179.f74a523

Nuxt project info:


  • Operating System: Darwin
  • Node Version: v17.7.1
  • Nuxt Version: 2.15.8
  • Package Manager: yarn@1.22.10
  • Builder: webpack
  • User Config: modules, publicRuntimeConfig
  • Runtime Modules: @nuxtjs/tailwindcss@5.0.3
  • Build Modules: -

Reproduction

It was just after the nuxi update that the error occurred.

It’s on a project already advanced in developer.

Describe the bug

It was after updating the nuxt version that I got the following error:

ERROR  Cannot start nuxt:  

Vue packages version mismatch:

- vue@3.2.33
- vue-server-renderer@2.6.14

This may cause things to work incorrectly. Make sure to use the same version for both.


  
  Vue packages version mismatch:
  
  - vue@3.2.33
  - vue-server-renderer@2.6.14
  
  This may cause things to work incorrectly. Make sure to use the same version for both.
  
  at Object.<anonymous> (node_modules/vue-server-renderer/index.js:8:9)
  at Module._compile (node:internal/modules/cjs/loader:1099:14)
  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
  at Module.load (node:internal/modules/cjs/loader:975:32)
  at Function.Module._load (node:internal/modules/cjs/loader:822:12)
  at Module.require (node:internal/modules/cjs/loader:999:19)
  at require (node:internal/modules/cjs/helpers:102:18)
  at Object.<anonymous> (node_modules/@nuxt/vue-renderer/dist/vue-renderer.js:19:27)
  at Module._compile (node:internal/modules/cjs/loader:1099:14)
  at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)

Additional context

No response

Logs

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pi0commented, May 3, 2022

I think for some reason you accidentally reverted to Nuxt 2. Please manually check nuxt dependency in package.json to be 3.0.0-rc.2

0reactions
bynicodevelopcommented, May 3, 2022

I think for some reason you accidentally reverted to Nuxt 2. Please manually check nuxt dependency in package.json to be 3.0.0-rc.2

Oh no !

It’s a problem on my side, I’m not on the right version

Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot start nuxt: Cannot find module 'nuxt' #3060 - GitHub
I think you must have an outdated version of nuxi installed locally. Your Nuxt version should be at least 3.
Read more >
Installation - Nuxt
To get started quickly, you can use create-nuxt-app . Make sure you have installed yarn, npx (included by default with npm v5.2+) or...
Read more >
ERROR Cannot start nuxt: Context is not availablet
I had same issue, when i try generated app for production "npm run generate". Most likely its a version issue, update nuxt to...
Read more >
Nuxt: The Intuitive Web Framework
Build your next Vue.js application with confidence using Nuxt. An open source framework under MIT license that makes web development simple and powerful....
Read more >
NuxtLabs - LinkedIn
Makers of Nuxt.js and Docus. | Intuitive Web Development. ... Founded: 2017. Specialties: Open Source, JavaScript, WebDevelopment, and Nuxt ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found