从mean.io 下载mean stck zip
是否安装了 npm
几分钟后我收到一个错误。请看截图。我该怎么办?
npm http 200 https://registry.npmjs.org/event-emitter/-/event-e
mitter-0.2.2.tgz
> [email protected] postinstall C:\ss\D1\google\04\mean\mean-stack
> ./node_modules/bower/bin/bower install
'.' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! weird error 1
npm ERR! not ok code 0
看起来平均堆栈安装后脚本是用 Unix 样式路径硬编码的。在Unix中./somethig/or/another
表示访问something
从 HERE 开始的目录(含义.
).
我建议首先在他们的 GitHub 页面上提交一个错误。然后你也许可以摆脱编辑package.json
让安装后脚本使用 Windows 样式路径。会是这样的node_modules\bower\bin\bower install
。我没有窗户,所以不能肯定。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)