Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted Package in 2.1.0 on npm? #14

Closed
OClement opened this issue Nov 24, 2015 · 10 comments
Closed

Corrupted Package in 2.1.0 on npm? #14

OClement opened this issue Nov 24, 2015 · 10 comments

Comments

@OClement
Copy link

I could not install the latest version through npm

Installing 2.0.0 worked fine

Here's the error I get when installing the latest:

$ npm install gulp-cssimport
npm ERR! Darwin 14.5.0
npm ERR! argv "~/.nvm/versions/node/v5.1.0/bin/node" "~/.nvm/versions/node/v5.1.0/bin/npm" "install" "gulp-cssimport"
npm ERR! node v5.1.0
npm ERR! npm  v3.3.12
npm ERR! code EREADFILE

npm ERR! Error extracting ~/.npm/gulp-cssimport/2.1.0/package.tgz archive: ENOENT: no such file or directory, open '~/.npm/gulp-cssimport/2.1.0/package.tgz'
npm ERR! 
@unlight
Copy link
Owner

unlight commented Nov 27, 2015

@OClement
Are you still having errors while install?

@OClement
Copy link
Author

Yup, just tried it now
npm ERR! Error extracting /Users/oclement/.npm/gulp-cssimport/2.1.0/package.tgz archive: ENOENT: no such file or directory, open '/Users/oclement/.npm/gulp-cssimport/2.1.0/package.tgz'

For the record, I just thought about the fact that I am using Node v5.1 and Npm 3.3.2

I just tried with node 0.12.8 and it works fine
So there must be something breaking in between the node versions

@unlight
Copy link
Owner

unlight commented Nov 27, 2015

I tried npm i gulp-cssimport on node 5.1.0/npm 3.5.0 and it works fine.
And it installs version 2.1.1-b this is the latest version, not 2.1.0.
npm i gulp-cssimport@2.1.0 - also works fine for me.

package.json@2.1.0
Json is valid.

Text in first comment contains npm ERR! argv "~/.nvm/versions/node/v5.1.0/bin/node"
Maybe it is some kind problem with nvm?

@OClement
Copy link
Author

Either that or I still have a cached package and it tried to reinstall this instead of the latest one maybe?

I'll see if I can clean the cache and try again

O.

Le 27 nov. 2015 à 14:58, Roman Vasilev notifications@github.com a écrit :

I tried npm i gulp-cssimport on node 5.1.0/npm 3.5.0 and it works fine.
And it installs version 2.1.1-b this is the latest version, not 2.1.0.

npm i gulp-cssimport@2.1.0 - also works fine for me.

package.json@2.1.0
Json is valid.

Text in first comment contains npm ERR! argv "~/.nvm/versions/node/v5.1.0/bin/node"
Maybe it some kind problem with nvm?


Reply to this email directly or view it on GitHub.

@unlight
Copy link
Owner

unlight commented Nov 27, 2015

Also you can try to install directly from github.
npm i unlight/gulp-cssimport
or
npm i https://github.com/unlight/gulp-cssimport/archive/tar.gz

@pavelkornev
Copy link

I've got same issue.

@OClement
Copy link
Author

OClement commented Dec 1, 2015

@unlight Sorry for the delay

Cleaning cache didn't help
Still failing under Node 5.1.x -> Using NVM (OS X)

I'm not in a position to remove NVM from the equation on my machine at this moment

@pkornev Whats your current setup? Node/NPM versions, using nvm or not? Windows or Linux or OS X?
These infos would help

@pavelkornev
Copy link

@OClement

$ npm -v
3.3.9

$ node -v
v5.0.0

OSX.

@djhworld
Copy link

Same issue here, OSX

  • node v5.2.0
  • npm v3.3.12

@unlight
Copy link
Owner

unlight commented Dec 24, 2015

Hmm, looks like something wrong with npm versioning. I've reproduced this bug on my work machine. Bumping version to 2.1.1-b to 2.1.2 fixed the issue.
@OClement @pavelkornev @djhworld
Could you try again, and tell the result?

@unlight unlight closed this as completed Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants