arei / npmbox

Utility for creating (boxing) and using (unboxing) an archive of a complete (including all dependencies) npm install.
MIT License
245 stars 34 forks source link

Issue with offline install #20

Closed davidschutze closed 10 years ago

davidschutze commented 10 years ago

Trying to do the offline install and ran into two issues:

If I run the command without as tar -xvf npmbox.npmbox (without the 'o') it runs fine and creates the .npmbox-cache folder. Not sure if that's critical or not.

Seems like the offline install of npmbox is not working properly or I'm doing something wrong.

In case it matters: npm v1.3.21, node v0.10.24

arei commented 10 years ago

The first problem is a known issue for some versions of tar on different operating systems. Upgrading to npm 1.4.28 or later (but not mor than 1.0.0) will solve the second problem.