d:\Workcopy>cml init project
? please input the name of project: (node:2512) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
(node:2512) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:2512) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
问题截图
编译环境信息
- chameleon-tool 版本:[e.g.0.1.0]
- nodejs版本、npm版本:[node v8.11.4、npm 5.6.0]
- 电脑操作系统: [e.g. macOS High Sierra 10.13.6]
运行环境信息
- 端版本: [e.g. 微信小程序 7.0.3、weex 2.0、手机Safari浏览器 、PC Chrome浏览器 1.30]
- 手机机型: [e.g. iPhone6 12.0]
3条答案
按热度按时间d7v8vwbk1#
npm ERR! code FETCH_ERROR
npm ERR! errno FETCH_ERROR
npm ERR! network timeout at: http://registry.npm.xiaojukeji.com/circular-dependency-plugin/download/circular-dependency-plugin-4.4.0.tgz
qc6wkl3g2#
我用ubuntu写初始化不了,太失望
20jt8wwn3#
确实报这些错,但是在下面输入项目名称就行了