Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

npm install fails on i-0.3.2 #702

Open
netdance opened this issue Sep 16, 2016 · 3 comments
Open

npm install fails on i-0.3.2 #702

netdance opened this issue Sep 16, 2016 · 3 comments

Comments

@netdance
Copy link

npm install fails with the following error:

npm ERR! fetch failed https://registry.npmjs.org/i/-/i-0.3.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 504

This library no longer exists in the repo, hence the failure.

This is on the latest version of node 0.10.46, running under nvm.

@popzip
Copy link
Contributor

popzip commented Sep 30, 2016

Hi Jim just seeing this. What OS are you running? These are the versions we tested though I wouldn't think a dot increase on node 0.10 would matter: https://github.com/marklogic/marklogic-samplestack/wiki/Version-Compatibility

We have a few wikis on troubleshooting but I don't see your specific case.
https://github.com/marklogic/marklogic-samplestack/wiki/Node.js-and-npm-Tips-for-Samplestack-Development
https://github.com/npm/npm/wiki/Troubleshooting

Tagging @laurelnaiad - What's the workaround for the missing library?

@netdance - alternatively you could try running the Java version with the pre-built/static front end version: https://github.com/marklogic/marklogic-samplestack/blob/master/appserver/java-spring/README.md Would that meet your immediate needs?

@laurelnaiad
Copy link
Contributor

laurelnaiad commented Oct 5, 2016

Hi @netdance , @popzip,

Sorry it took me a while to figure this out. It's actually a simple fix/workaround, but until I realized it I was stumped....

What's happening is that the shrinkwrap file is preventing npm from addressing the fact that the npm i module version 0.3.2 was accidentally unpublished from npm.

$ rm -rf npm-shrinkwrap.json       # or delete it using whatever mechanism

should do the trick.

This tested on:

$ node --version ; npm --version
v0.10.46
3.10.8

If you need to update npm, that can be done via

$ npm i -g npm

I hope that gets you unstuck.

@pbenthem
Copy link

The removal of npm-schrinkwarp did not work for me.
Changed npm-schrinkwarp the versions https://registry.npmjs.org/i/-/i-0.3.2.tgz to 0.3.5.
Installation is now working, as described in the documentation. Samplestack seems to run without issues.
Maybe change this in the package. Avoiding other running into the same issue, having to browse for a solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants