node.js - npm 运行开发错误代码 ELIFECYCLE。似乎无法找出问题所在
问题描述
我对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
任何帮助将不胜感激。无法在测试环境中看到它的样子真的很难
解决方案
推荐阅读
- sikuli - 无法从命令提示符运行 sikulix 脚本 (Windows 10)。我可以启动 ide 并运行它
- terminal - 无法在 xfce4-terminal 中粘贴文本
- r - 在给定 R 中的向量的情况下创建一个矩阵
- ios - 适用于 Swift 的 Firebase Firestore 似乎没有到达 Google Cloud
- python - Pypy3 pip 安装记录类
- angular - 使用 Angular Schematics 复制文件夹及其内容
- typescript - 类构造函数可选参数
- python - 如何在 Makefile for Windows 中设置环境变量?
- docker - 我无法打开使用 dokku 部署的网站的网址
- unity3d - 带有 Unity 的 Chamilo 不支持 Scorm 1.2