【发布时间】:2020-03-13 07:39:57
【问题描述】:
- 在 react 中克隆 git 代码。
- 安装 npm。
问题 -
由于某种原因,我无法运行 dev-server 。 我在cmd上使用了这两个命令 1. npm 运行开发服务器
我得到的错误之一的“样本” -
警告:在 eslint-plugin-react 设置中未指定 React 版本。看 https://github.com/yannickcr/eslint-plugin-react#configuration 。 C:\Users\Alon\Desktop\skillz_fontend\src\components\Inputs\GooglePlacesInput.jsx 57:30 错误缺少分号分号
- npm 开始 -
C:\Users\Alon\Desktop\skillz_fontend>npm start npm ERR!缺少脚本:启动 npm ERR! npm 错误!你是这个意思吗? npm 错误!统计数据 npm 错误!可以在以下位置找到此运行的完整日志:npm ERR!
C:\Users\Alon\AppData\Roaming\npm-cache_logs\2019-11-17T22_59_13_787Z-debug.log
感谢阿隆
【问题讨论】: