我正在关注this tutorial on vue.js on YouTube。我安装的软件包之一是eslint 5.5(当前版本)。我看到了此错误消息:
npm ERR! Failed at the server@1.0.0 lint script 'eslint **/*.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint **/*.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs server
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls server
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/jason/Documents/vue-movie/server/npm-debug.log
我尝试更新Node和NPM,但这并没有改变此失败。本教程使用的是“ ^ 4.6”,我想知道是否有办法将我拥有的软件包还原为早期版本?那我该怎么办?