xgqfrms / uni-app-in-action

uni-app 实战
MIT License
0 stars 0 forks source link

ExperimentalWarning: The fs.promises API is experimental #6

Open xgqfrms opened 3 years ago

xgqfrms commented 3 years ago

ExperimentalWarning: The fs.promises API is experimental

https://stackoverflow.com/questions/50441890/experimentalwarning-the-fs-promises-api-is-experimental

Perhaps the package.json should bump the node version to >=10.17?

https://github.com/jsdom/jsdom/issues/2939

https://github.com/pnpm/pnpm/issues/1178

xgqfrms commented 3 years ago

node.js v14.x

image

xgqfrms commented 3 years ago

node.js version bug

https://github.com/dcloudio/uni-app/issues/2565

solution

$ nvm ls

$ nvm install 14.16.0

$ nvm use 14.16.0
xgqfrms commented 3 years ago
$ sudo chown -R 501:20 "/Users/xgqfrms/.npm"