v5.5.0 has a broken dependency on fast-xml builder
- [x] Are you running the latest version?
- [x] Have you included sample input, output, error, and expected output?
- [x] Have you checked if you are using correct configuration?
- [x] Did you try online tool?
- [x] Have you checked the docs for helpful APIs and examples?
Description
Installing [email protected] breaks. (dependency on fast-xml-builder is relative path)
βERR_PNPM_LINKED_PKG_DIR_NOT_FOUNDβ Could not install from "/path/to/my/project/fxp-builder" as it does not exist.
This error happened while installing the dependencies of [email protected]
at [email protected]
Input
pnpm i [email protected]
Code
n/a
Output
n/a
expected data
A successful install
Would you like to work on this issue?
- [ ] Yes
- [x] No
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.
Unclear what branch this was released from -- no visible branches contain the dependency as published to npmjs:
"fast-xml-builder": "file:../../fxp-builder"
encountering the same issue, seems to be latest deployment of fast-xml-builder https://github.com/NaturalIntelligence/fast-xml-builder/commit/c687d9676e055ad9cda122707387ea0197a231e0
Temporary fix, add this to your package.json:
"resolutions": {
"fast-xml-builder": "1.0.0"
}
Nice. More elegant than the temporary fix I was using: installing [email protected] >5.5.0 as a dev dependency.
Glad I could help!
Same error in deno (supabase edge function), Firebase Admin depends on this library, basically they are breaking builds that use Firebase as well
unexpected deploy status 400:
{
"message": "Failed to bundle the function (reason:
Error in [email protected] parsing version requirement for dependency \"fast-xml-builder\": \"file:../../fxp-builder\"
0: Invalid version requirement
1: Unexpected character.
file:../../fxp-builder
~
)"
}
Try rerunning the command with --debug to troubleshoot the error.
Yes, there are several packages that depend on this. It is most inconvenient.
encountering the same issue, seems to be latest deployment of fast-xml-builder NaturalIntelligence/fast-xml-builder@c687d96
Temporary fix, add this to your package.json:
"resolutions": { "fast-xml-builder": "1.0.0" }
or with pnpm:
"pnpm": {
"overrides": {
"fast-xml-parser": "5.5.0",
"fast-xml-parser>fast-xml-builder": "1.0.0"
}
}
my bad. fixed