npm выполнить код ошибки dev ELIFECYCLE. Не могу понять проблему - PullRequest
0 голосов
/ 09 марта 2020

У меня нет опыта работы с nodeJS, но я пытаюсь создать несколько тестовых приложений для Plaid, и эта ошибка появлялась всякий раз, когда я запускаю npm run dev.

PS D:\Projects\mern-plaid> npm run dev

> mern-auth@1.0.0 dev D:\Projects\mern-plaid
> concurrently "npm run server" "npm run client"

[1] 
[1] > mern-auth@1.0.0 client D:\Projects\mern-plaid
[1] > npm start --prefix client
[1] 
[0] 
[0] > mern-auth@1.0.0 server D:\Projects\mern-plaid
[0] > nodemon server.js
[0] 
[0] 'nodemon' is not recognized as an internal or external command,
[0] operable program or batch file.
[0] npm ERR! code ELIFECYCLE
[0] npm ERR! errno 1
[0] npm ERR! mern-auth@1.0.0 server: `nodemon server.js`
[0] npm ERR! Exit status 1
[0] npm ERR! 
[0] npm ERR! Failed at the mern-auth@1.0.0 server script.
[0] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[0] 
[0] npm ERR! A complete log of this run can be found in:
[0] npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-03-08T23_03_35_217Z-debug.log
[0] npm run server exited with code 1
[1] 
[1] > client@0.1.0 start D:\Projects\mern-plaid\client
[1] > react-scripts start
[1] 
[1] 'react-scripts' is not recognized as an internal or external command,
[1] operable program or batch file.
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! client@0.1.0 start: `react-scripts start`
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the client@0.1.0 start script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-03-08T23_03_36_680Z-debug.log
[1] npm ERR! code ELIFECYCLE
[1] npm ERR! errno 1
[1] npm ERR! mern-auth@1.0.0 client: `npm start --prefix client`
[1] npm ERR! Exit status 1
[1] npm ERR!
[1] npm ERR! Failed at the mern-auth@1.0.0 client script.
[1] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[1]
[1] npm ERR! A complete log of this run can be found in:
[1] npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-03-08T23_03_36_727Z-debug.log
[1] npm run client exited with code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mern-auth@1.0.0 dev: `concurrently "npm run server" "npm run client"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mern-auth@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2020-03-08T23_03_36_877Z-debug.log

Любая помощь будет принята с благодарностью. Невозможно увидеть, как это выглядит в тестовой среде, действительно сложно

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...