-
Notifications
You must be signed in to change notification settings - Fork 67
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 (node:52837) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated #405
Comments
+1 |
use node version v19.2.0 can clear this error info |
Odd versions of Node are not for production use, @xiao-xiaozi . |
Why deprecation warning causes the error in |
I don't think it causes any errors, just a simple warning. |
For now, this is just a warning and can be ignored. |
This is an upstream issue (wooorm/import-meta-resolve#27) which is resolved in v4.1.0 of cc: @pi0 |
wroking on mlly release expect it shortly :) |
@pi0 thank you! 💪 can we get a bump @ https://github.com/unjs/pkg-types ? still uses 1.6.1. |
refreshing the lockfile should be enough as it uses the |
So, is this going to be fixed in CLI v3.12.0 tomorrow? Sounds like mlly was updated to use the latest version of import-meta-resolve, which has the fix for this. Thank you for all your hard work! |
Hi @danielroe, I hope you are well, and thank you for the update. I still see the error in my console. Do we need to update to the latest Nuxt version? Thank you. |
Yes, |
This worked for me. Thanks @pi0 |
install |
Environment
Darwin
v22.0.0
3.11.2
3.11.1
2.9.6
npm@10.6.0
-
devtools
-
-
Reproduction
-Install latest node
-Install latest nuxt
-npm run dev
Describe the bug
When upgrading to the latest node and the lastest nuxt version, the following error repeatedly appears in the console:
ERROR (node:52865) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated
The error is present at every npm run dev, and npm run build.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: