-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
node 14.1 is broken #191
Comments
I can confirm that downgrading Here's a quickfix that should be put into {
"dependencies": {
"nuxt": {
"version": "2.15.4",
"from": "nuxt@2.15.4",
"dependencies": {
"@nuxt/components": {
"version": "2.1.6",
"from": "@nuxt/components@^2.1.4"
}
}
}
}
} |
Naming resolution is changed with full prefix. Check migration guide: https://github.com/nuxt/components#migration-guide You can also check CLI output for hint to generated component names :) (downgrading is neither adviced or a solution) |
This has nothing to do with prefixing. The issue occurs in a completely fresh Nuxt install for the last couple of hours. |
Would you please help to reproduce by forking this sandbox? https://codesandbox.io/s/ley4h (it is fresh from latest versions) |
That should be it (just a plain fresh install) but this does not reproduce the error in the sandbox. Reproduction is as simple as installing a fresh nuxt with:
Then run |
Can you please check your npm and node.js version? |
npm: 6.14.4 |
Thanks. I can confirm now:
(Issue can be fixed by upgrading to latest LTS but also new fresh installs with 14.1 will work again) Trace: #189 /cc @danielroe Debugging why module not discovered with getPkg:
|
Running node v14.16.1 here, neither v2.1.7 nor v2.1.8 is picking up NEW components I am adding to my existing project (older |
Describe the bug
Components are no longer auto imported.
To Reproduce
Try with a fresh install, you'll get
Unknown custom element: <Logo>
error. I tried multiple times with new installs it's the same for the last couple of hours. Probably related to the new patch.Expected behavior
The components should be auto imported from
/components
whencomponents: true
innuxt.config.js
.The text was updated successfully, but these errors were encountered: