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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPM failure on npm install --save fastify
(Unexpected token in parsing near find-my-way-0.2.4.tgz)
#1482
Comments
It seems it's a bug on npm :(. |
Yup, we are seeing a lot of failing builds on Windows as well. |
I'm seeing this error as well. Not on my local machine though (macOS), but only on Elastic Beanstalk. Both using npm and yarn. This is stopping our whole deployment cycle - I will be monitoring this thread for updates. 馃憖 |
Can somebody fetch one of those npm log files? Maybe there is some info there that we can help diagnose. Is this happening only on Fastify v2? |
Apparently, also CI has started working again. I'll continue to monitor this. |
All back to normal even at the office... I'd say definitely an NPM glitch! |
CI seems to still be failing. |
Is there any option to trigger a build without cache in the CI? |
I don't think we have any caching on Azure, but I might be wrong. |
Unfortunately it's an NPM bug. I would recommend to contact NPM directly, there is literally nothing we can do. Feel free to reopen if you got something that we can do to fix this. (One solution might be to deploy Verdaccio instance in between.) |
The link this bug is being discussed is https://npm.community/t/error-unexpected-token-in-json-at-position/5671. |
馃悰 Bug Report
There seems to be an issue with the current package setup for 2.0.0 (and the other RC).
When trying to install with
npm i --save fastify
I get the following error:
Same happens with the following sequence of commands:
git clone https://github.com/fastify/fastify.git cd fastify npm install
Your Environment
Updated
It seems that even doing the following will raise the error:
Output:
The text was updated successfully, but these errors were encountered: