Error: No Such Package when bundling Meteor.js app
Asked Answered
B

1

5

When my Meteor app is being bundled (using Meteor UP mup deploy), it gives a set of errors below. Do I have to manually install (globally?) these packages using Meteorite before bundling?

$ 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-------------------
Bimetallism answered 14/12, 2013 at 15:5 Comment(0)
S
9

Run mrt update first

Once everything has updated and the packages have downloaded then you can run mup

Scharff answered 14/12, 2013 at 15:46 Comment(6)
Thanks. So the sequence is mup setup, mrt update, mup deploy.Bimetallism
yes. exactly. mup expects, meteor app is working properly on the local machine.Daryl
I'm getting the exact same error, and mrt update won't work. :( I've filed an issue here: github.com/arunoda/meteor-up/issues/17Walloon
Oh, what I had to do was update meteorite. npm update -g meteoriteWalloon
This updates the packages in your app to the latest versions or if they don't exist installs them. npm update -g meteorite updates the version of meteorite, which runs mrt for these commands. You might have had an older versionScharff
Saved my day! Apparently you have to update to see the package (or at least make the meteor sees the package)Vespiary

© 2022 - 2024 — McMap. All rights reserved.