2018-06-03 20:35:26 +08:00
|
|
|
|
# 常见问题
|
|
|
|
|
|
|
2018-06-20 22:31:50 +08:00
|
|
|
|
## 无法启动项目
|
2018-06-20 14:55:10 +08:00
|
|
|
|
|
2018-06-20 19:44:16 +08:00
|
|
|
|
首先建议您升级 node 版本 > 8,在以下环境测试可用
|
2018-06-20 14:55:10 +08:00
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
➜ ~ npm -v
|
|
|
|
|
|
5.6.0
|
|
|
|
|
|
➜ ~ node -v
|
|
|
|
|
|
v8.11.1
|
|
|
|
|
|
➜ ~ nrm -V
|
|
|
|
|
|
1.0.2
|
|
|
|
|
|
➜ ~ nrm ls
|
|
|
|
|
|
npm ---- https://registry.npmjs.org/
|
|
|
|
|
|
cnpm --- http://r.cnpmjs.org/
|
|
|
|
|
|
* taobao - https://registry.npm.taobao.org/
|
|
|
|
|
|
nj ----- https://registry.nodejitsu.com/
|
|
|
|
|
|
rednpm - http://registry.mirror.cqupt.edu.cn/
|
|
|
|
|
|
npmMirror https://skimdb.npmjs.com/registry/
|
|
|
|
|
|
edunpm - http://registry.enpmjs.org/
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
::: tip
|
|
|
|
|
|
推荐使用 [nrm](https://github.com/Pana/nrm) 管理 npm 源,不建议使用 cnpm
|
2018-06-03 20:35:26 +08:00
|
|
|
|
:::
|