Mr.Squishy_ Mr.Squishy_ - 1 month ago 31
Javascript Question

Cannot install packages, various other issues (Meteor)

I've started my journey with Meteor recently (super hyped)!



Alas! I'm having some troubles!



I cannot seem to get a basic workspace to work!




Here's my problem detailed:



Specs: Win7, 64bit.

I create a new app,

> meteor create example


That works fine.

I run the app,

> cd example
> meteor


That works great.






This next part doesn't.



I then add some packages to the packages file ([default] represents the default packages installed by
meteor create
, with
autopublish
and
insecure
removed.),

# [default]
kadira:flow-router
kadira:blaze-layout
erasaur:meteor-lodash
mquandalle:stylus
fortawesome:fontawesome
spiderable
fastclick
raix:handlebar-helpers
aldeed:collection2
aldeed:autoform
accounts-ui
accounts-password
matb33:bootstrap-glyphicons
msavin:jetsetter
zimme:active-route
gwendall:auth-client-callbacks


I then start Meteor again:

> meteor


Now it gets real(ly bad).



=> Started proxy.
=> Started MongoDB.
C:\Users\Pj\AppData\Local\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_3
2\dev_bundle\lib\node_modules\meteor-promise\promise_server.js:190
throw error;
^

Error: Extracted archive '/C/Users/Pj/AppData/Local/Temp/.tmpkxwy69' should only
contain one entry


[ full dump here http://pastebin.com/raw/jSA9N3AF ]



Happens every time, without fail.






FAQ



Q. Have you restarted your machine?


  • Yes. Too many times.



Q. Have you reinstalled Meteor?


  • Multiple times, yes.



Q. Have you deleted the stuff in Local/Temp?


  • Before, after, and during the installs.



Q. Why?


  • I dunno, you tell me!


Answer

I think you need to add one package at a time and see where it breaks. I know it's tedious, but you need to find the problem somehow :)

To save some time, you can use a technique called binary chop (or binary search). Add half of the packages, if it's good, the problem is in the second half of the list. Keep chopping until you find it.