I try to creat new nuxt app using fallowing command
npx nuxi init my-app
successfully creating new app with Nuxt 3.0 stable inside but i get this annoying response
Nuxi 3.0.0-rc.10 15:04:22
ERROR (node:35527) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
What confuses me is the version of Nuxi 3.0.0-rc.10 and the Error I belive it comes from node.
node - 18.12.1
npm - 8.19.2
git - 2.38.1
First off, you should be running Nuxt 3.0.0
(stable version), not the RC.
Also, this is a warning hence something that you can omit. Especially because it is tied to Node v18 itself and not Vue/Nuxt. Some details on how to suppress the warning are available here: https://github.com.netlify/cli/issues/4608#issuecomment-1223696635
As for the warning, it is a common thing to have experimental features marked until they are fully stable. Here is the official source for that one.
I helped upgrade the version node v18.12.1 -> v19.4.0
It was enough for me to upgrade to node 18.13.0
You can also try --no-experimental-fetch
flag.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.