Closed sarahec closed 11 months ago
Possibly a nixpkgs issue w/ nodePackages.parcel:
error: builder for '/nix/store/blvhwvc2mj55h4zrdcyyg5n50znvr52x-parcel-2.9.3.drv' failed with exit code 2;
last 10 log lines:
> ./parcel/node_modules/sshpk/bin/sshpk-conv: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> ./parcel/node_modules/sshpk/bin/sshpk-sign: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> ./parcel/node_modules/node-addon-api/tools/conversion.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> ./parcel/node_modules/@parcel/watcher/node_modules/node-addon-api/tools/conversion.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> ./parcel/node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> ./parcel/node_modules/update-browserslist-db/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> ./parcel/node_modules/acorn-globals/node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> ./parcel/lib/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/5275fpjjrr73q80qbsag4ajnpyps4d1y-nodejs-18.17.0/bin/node"
> sed: can't read node_modules/node-gyp-build/bin.js: No such file or directory
> /nix/store/rk3g4mxrs84bv1vanqnzpdkhm73ksr0z-stdenv-linux/setup: line 144: pop_var_context: head of shell_variables not a function context
For full logs, run 'nix log /nix/store/blvhwvc2mj55h4zrdcyyg5n50znvr52x-parcel-2.9.3.drv'.
@sarahec, please, provide a flake with a reproduction.
I found the build result and confirmed that all the pieces are there, so this build is running correctly. I'm going to close this bug and follow up on the nx side.
Closed, not a nix build problem.
I'm attempting to get the nx console to work. The console opens, but then throws up error about its client not working. The console is inoperable after that.
Installing a local or global copy of @parcel/watcher doesn't help. See also https://github.com/nrwl/nx-console/issues/1808