-
Notifications
You must be signed in to change notification settings - Fork 933
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
Broken dependency: @apidevtools/json-schema-ref-parser #5450
Comments
This issue does not have all the information required by the template. Looks like you forgot to fill out some sections. Please update the issue with more information. |
Seeing the same issue |
I am seeing the exact same error
this was working before not sure if an update has caused this |
I used the |
is it resolved the error @filiperochs ? |
i get it in my dockerfile but still not working |
What is your node version? |
"14.21.2" |
I also can not upgrade the runtime to 17 too. How can I work around it ? |
I find a solution --> You can use --> yarn install --ignore-engines --> to allows package authors to state which node engines are required for the package to work. |
Worked for me! Thankyou 🙂
After adding this, I deleted the |
@filiperochs my node version is 16.18.1 |
i try this but no luck on my end node version 14.18.3 |
yarn install --ignore-engines it is worked, thank you :) |
I get the same error
Using in Github Actions |
It's recommended to use npm to install firebase-tools that way we can say with certainty that using npm to install firebase-tools should be safe. The folks who added the breaking change in the patch will need to fix it. We can technically put in a explicit dependency on an earlier version to fix it, but it's only a stop-gap Let me know if |
It seems that cloud function deployment fails. ✔ functions: Finished running predeploy script. Functions deploy had errors with the following functions: Error: There was an error deploying functions |
v9.1.2 of @apidevtools/json-schema-ref-parser has been released, which reverts the breaking change. You should be able to upgrade to this using normal npm version to get it working again. |
Rebuilding containers that depend on firebase-tools now works again also on the oldest LTS node version 14. |
Glad they were able to publish a new package (finally) without the breaking change. Seems like this has cleared up! |
Thanks all! Yes they fixed the broken package |
The
@apidevtools/json-schema-ref-parser
dependency is broken, and prevents firebase-tools from being installed on Node version <17. Please note, this dependency is also being abandoned and a replacement should be foundAPIDevTools/json-schema-ref-parser#298
"Suggest pinning to the exact version 9.1.0 if you haven't already, until a 9.1.2 can be released."
[REQUIRED] Environment info
firebase-tools: 11.20.0
Platform: Ubuntu
[REQUIRED] Test case
on a system using Node <17:
[REQUIRED] Steps to reproduce
On a system running Node version <17, install firebase-tools
[REQUIRED] Expected behavior
firebase-tools will be installed successfully
[REQUIRED] Actual behavior
installation fails due to broken dependency @apidevtools/json-schema-ref-parser
error @apidevtools/[email protected]: The engine "node" is incompatible with this module. Expected version ">= 17". Got "14.21.2"
The text was updated successfully, but these errors were encountered: