npm install package.js - могу ли я вернуться к более раннему пакету? - PullRequest
0 голосов
/ 04 сентября 2018

Я следую этому руководству на vue.js на 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», и мне было интересно, есть ли способ вернуть пакет, который у меня есть, к более ранней версии? И как бы я это сделал?

...