当我尝试
时http://www.angular-meteor.com/tutorials/whatsapp/meteor/bootstrapping
使用以下代码
D:\whatsapp>meteor npm install ionic-scripts --save
npm WARN angular-meteor@1.3.11 requires a peer of angular@^1.4.0 but none was installed.
npm WARN ionic-scripts@1.3.2 requires a peer of angular@^1.5.3 but none was installed.
npm WARN ionic-scripts@1.3.2 requires a peer of angular-animate@^1.5.3 but none was installed.
npm WARN ionic-scripts@1.3.2 requires a peer of angular-sanitize@^1.5.3 but none was installed.
npm WARN ionic-scripts@1.3.2 requires a peer of angular-ui-router@^0.2.13 but none was installed.
我安装了角度动画,角度消毒和角度ui路由器包。但是我没有在atmosphere.com找到任何名为angular的包装
这里错过了什么
答案 0 :(得分:0)
你能否从凉亭安装角度物品,例如按照他们自己的教程?在这种情况下,请在bower_components中查找它们。否则我建议保持纯正的前端依赖,例如角度,角度ui-router等在bower中使用npm作为后端。也许为它们编写一个配置文件(bower.json用于bower,package.json用于npm),这样可以使事情更清晰,并且可以通过运行npm install来确保安装。看一下角度教程的模板,这是一个相当不错的开始。
答案 1 :(得分:0)
首先,您必须使用以下命令安装软件包'dab0mb:ionic-assets':
$ meteor add dab0mb:ionic-assets
..此软件包包含所需的依赖项:
"peerDependencies": {
"angular": "^1.5.3",
"angular-animate": "^1.5.3",
"angular-sanitize": "^1.5.3",
"angular-ui-router": "^0.2.13"
}
另一种方法是使用此命令直接安装所有依赖项:
$ meteor npm install --save angular angular-animate angular-sanitize angular-ui-router ionic-sdk ionic-scripts