【问题标题】:React Boilerplate cannot be run with "npm run start"React Boilerplate 无法使用“npm run start”运行
【发布时间】:2017-09-05 10:42:08
【问题描述】:

重新结帐react-boilerplate 并运行

npm run setup

npm run start

它停止并显示类似以下的错误消息:

npm ERR! node v6.10.3
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! react-boilerplate@3.4.0 start: `cross-env NODE_ENV=development node server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boilerplate@3.4.0 start script 'cross-env NODE_ENV=development node server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.

【问题讨论】:

    标签: react-boilerplate


    【解决方案1】:

    原来解决方案(就我而言)非常简单:

    确保没有其他 React 样板开发服务器在相同的端口上运行。

    我停止了另一个正在运行的,它起作用了。

    HTH 并花一个小时查看实际的 npm/react-boilerplate 问题。

    【讨论】:

      猜你喜欢
      • 2017-10-05
      • 1970-01-01
      • 2020-06-23
      • 1970-01-01
      • 2020-09-23
      • 2019-06-10
      • 2019-07-05
      • 2021-01-25
      • 1970-01-01
      相关资源
      最近更新 更多