YMFE / ykit

基于 Webpack 的灵活快速的打包工具,帮助稳定高效构建现代 JavaScript 应用。
https://ykit.ymfe.org/
Apache License 2.0
393 stars 56 forks source link

ykit init 指令报错 #25

Closed caozihao closed 7 years ago

caozihao commented 7 years ago

用的是最新版2.01 执行 ykit init的时候报错

错误信息: PS D:\project\ykit-startkit> ykit init C:\Users\zihaocao\AppData\Roaming\nvm\v8.3.0\node_modules\ykit\lib\commands\init.js:22 Manager.reloadRC(); ^

TypeError: Manager.reloadRC is not a function at Object.exports.run (C:\Users\zihaocao\AppData\Roaming\nvm\v8.3.0\node_modules\yk it\lib\commands\init.js:22:10) at Object.run (C:\Users\zihaocao\AppData\Roaming\nvm\v8.3.0\node_modules\ykit\lib\c li.js:91:24) at Object. (C:\Users\zihaocao\AppData\Roaming\nvm\v8.3.0\node_modules\yk it\bin\ykit:8:5) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3) at Function.Module.runMain (module.js:609:10) at startup (bootstrap_node.js:158:16) PS D:\project\ykit-startkit>

caozihao commented 7 years ago

好吧,刚yapi的作者回复我了,可能是平台的原因,只能用于mac和linux,(windows哭晕在厕所)