错误:捆绑Meteor.js应用程序时没有这样的包

时间:2013-12-14 15:05:06

标签: javascript node.js meteor npm meteorite

当捆绑我的Meteor应用程序时(使用Meteor UP mup deploy),它会在下面给出一组错误。在捆绑之前,我是否必须使用Meteorite手动安装(全局?)这些软件包?

$ mup deploy

Meteor-UP : Production Quality Meteor Deployments
--------------------------------------------------

Bundling Started: /var/www/test-app
Bundling Error:  Command failed:
-------------------STDOUT-------------------
rss: updating npm dependencies -- rss...
mailchimp: updating npm dependencies -- mailchimp...
Errors prevented bundling:
While building the application:
error: no such package: 'database-forms'
error: no such package: 'crypto-md5'
error: no such package: 'momentjs'
error: no such package: 'iron-router'
error: no such package: 'nprogress'

-------------------STDERR-------------------

1 个答案:

答案 0 :(得分:9)

首先运行mrt update

一旦所有内容都更新并且软件包已下载,您就可以运行mup