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

Gulp-nuget depends on a deleted NPM package #20

Closed
alistairmgreen opened this issue Jul 11, 2017 · 9 comments
Closed

Gulp-nuget depends on a deleted NPM package #20

alistairmgreen opened this issue Jul 11, 2017 · 9 comments

Comments

@alistairmgreen
Copy link
Contributor

The shrink wrap file for gulp-nuget specifies a dependency on [email protected].

That particular version has just disappeared from npm, so it is no longer possible to run npm install on any project that uses gulp-nuget. Consequently, my build which was working fine yesterday is now broken.

This can be fixed by upgrading to [email protected] which is still valid.

alistairmgreen pushed a commit to alistairmgreen/gulp-nuget that referenced this issue Jul 11, 2017
This is necessary because version 2.2.0 has been withdrawn from npm, making it impossible to run `npm install` on any project that uses gulp-nuget.
@dejoost
Copy link

dejoost commented Jul 11, 2017

this is also breaking our ci builds....

@johnbastow
Copy link

Same problem here although oddly, 2.2.0 seems to have been unpublished in March, 2016 according to the following issue in ansi-styles - chalk/ansi-styles#15

@kamran-pervaiz
Copy link

I was just going to create a new question as i was not sure why my build starting failing all of a sudden. could you please fix it? angular cli is using gulp-nuget

@alistairmgreen
Copy link
Contributor Author

To get my build working again, I simply uninstalled gulp-nuget then copied and pasted the relevant bits of its source code into my gulpfile. (I only needed the restore command, which is a small subset of what gulp-nuget does.)

@aromine
Copy link

aromine commented Jul 12, 2017

Creating this npm-shrinkwrap.json worked for me
{ "dependencies":{ "gulp-nuget":{ "version":"1.0.3", "from":"[email protected]", "dependencies":{ "gulp-util":{ "version":"3.0.8", "from":"[email protected]", "dependencies":{ "chalk":{ "from":"[email protected]", "version":"1.1.3", "dependencies":{ "ansi-styles":{ "version":"2.2.1", "from":"[email protected]" } } } } } } } } }

@dejoost
Copy link

dejoost commented Jul 13, 2017

I started using yarn https://yarnpkg.com instead of npm to restore the dependencies, this seems to work for now....

@kamran-pervaiz
Copy link

@aromine could you please explain a bit how to use npm-shrinkwrap.json file?

@mckn
Copy link
Owner

mckn commented Jul 14, 2017

Hello, sorry for being late on responding on this issue. I am on vacation an do not have any computer with me. I will be back the 18th of July and will merge this fix asap. Sorry again for the delay.

@kamran-pervaiz
Copy link

@mckn I figured thats why i emailed you from my hotmail, so that people dont panick :)

@mckn mckn closed this as completed in 29dcaf7 Jul 18, 2017
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

Successfully merging a pull request may close this issue.

6 participants