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 bridge migration: Cannot start nuxt: Cannot read properties of undefined (reading 'hook') #23551
Comments
same issue over here, we are stuck in our migration.
|
Same issue here! Trying to migrate a project with nuxt/bridge. With bridge: true and nuxt2 in the package.json scripts it works fine. But when I try nitro with nuxi I get the same error.
Because of the recency of this issue I tried downgrading to 3.8.4 and this issue does not appear on this version of nuxi. |
This should be resolved once Nuxt Kit v3.8 is released (#23502). |
@danielroe thanks for the update any idea when this will be released (just to know roughly when to check again)? It's been merged 2 weeks ago but it's still |
Check later today 😉 |
Environment
System:
OS: macOS 13.5.1
CPU: (10) arm64 Apple M2 Pro
Memory: 61.47 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.5.1 - /usr/local/bin/node
npm: 9.8.0 - /usr/local/bin/npm
Browsers:
Brave Browser: 117.1.58.129
Safari: 16.6
Reproduction
Create a new project
With the following prompt answers:
Follow migration guide
When you reach step to switch to
nuxi
I get:Cannot restart nuxt: Cannot read properties of undefined (reading 'hook')
My package.json:
my nuxt.config.js:
Describe the bug
When trying to migrate by adding bridge and switching to nuxi, I get stuck with the following error:
Additional context
I'm trying to migrate a bigger project and kept hitting the same error:
Cannot restart nuxt: Cannot read properties of undefined (reading 'hook')
I decided to create a blank project migrate it to 2.17 with bridge and nuxi, and hit the same problem
Logs
No response
The text was updated successfully, but these errors were encountered: