-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
[REQUIRED] Environment info
firebase-tools:
v13.29.1
Platform:
nix 2.24.10/nixos 24.05 linux_x86-64 and aarch64-darwin (and likely all)
[REQUIRED] Test case
It's a build error. See NixOS/nixpkgs#369813
[REQUIRED] Steps to reproduce
- Install nix
- Clone github.com/NixOS/nixpkgs (depth=1 is fine for this example)
nix-build -A- Examine the log output prefixed with "npm error", see Hydra build log
[REQUIRED] Expected behavior
It should build
[REQUIRED] Actual behavior
The build fails.
The errors are coming from npm rebuild of node-re2@1.18.0. This, is a dependency of ajv@6.x imported in package.json. See npm-shrinkwrap.json
However, the ajv dependency can be relaxed or upgraded. 6.x was only needed for Typescript 3 support, see firebaseConfigValidate.ts. The repo is now using typescript 4.5.4, see package.json
Note that @angular-devkit/core imports ajv@8.1.1 which would seem to be a viable alternative.
P.S. This might also resolve the issue mentioned in webpack.common
Th1nkK1D, clempat and FliegendeWurst