Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Install error: Unexpected token < in JSON at position 35 #17340
I'm opening this issue because:
What's going wrong?
From the debug.log it appears that npm is trying to read the load the shrinkwrap and failing. It's worth noting that this issue only occurs in this project on my current machine. I've tested on another Fedora 22 machine, (same npm and node versions) and the install works as expected. I appreciate this points to my local environment being the cause, however it looks like there may be some invalid syntax (
How can the CLI team reproduce the problem?
I'm unsure how to suggest reproduction of the issue, however I'm happy to test any suggestions anyone offers and report back.
I've just tested with some older versions of npm (v3.7.3 and v3.10.3, using nvm to switch) and the install worked as expected. Removing the