我只是在学习mean.js。只是在http://meanjs.org中完成了安装步骤。但是当加载到浏览器中时,控制台显示错误Uncaught ReferenceError: angular is not defined。我们需要单独包含angularjs吗?
发布于 2017-08-11 13:26:32
使用此命令
bower install --allow-root发布于 2017-08-26 23:17:45
不,你不需要再添加一次angularjs,因为在meanjs工程中,angularjs是默认添加的。
您可以尝试:
npm install此命令将安装node包和bower包。
然后再次运行项目:
npm start在http://localhost:3000上检查运行的均值
希望你在meanjs上玩得开心。
https://stackoverflow.com/questions/29138766
复制相似问题