You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: builder for '/nix/store/7fz458hj6sm0lmq2ql4vvwg06wgnjr5j-node_modules-0.0.0-node-modules.drv' failed with exit code 1;
last 10 log lines:
> building npm cache
> building node_modules
> npm ERR! code 1m reifyNode:node_modules/typescript Comurm
> npm ERR! path /private/tmp/nix-build-node_modules-0.0.0-node-modules.drv-0/node_modules/msw
> npm ERR! command failed
> npm ERR! command /nix/store/gvfp186azylyvf0yvf6lxrdx7w5vjf36-npm-shell-wrap.sh/bin/npm-shell-wrap.sh -c node -e "try{require('./config/scripts/postinstall')}catch(e){}"
> npm ERR! /nix/store/gvfp186azylyvf0yvf6lxrdx7w5vjf36-npm-shell-wrap.sh/bin/npm-shell-wrap.sh: line 3: pushd: /private/tmp/nix-build-/node_modules: No such file or directory
>
> npm ERR! A complete log of this run can be found in: /private/tmp/nix-build-node_modules-0.0.0-node-modules.drv-0/npm-cache/_logs/2023-10-30T16_08_48_190Z-debug-0.log
>
The text was updated successfully, but these errors were encountered:
To test out this project, i passed
pname
as "node_modules" to my derivation and spent a while debugging it.I think this line ends up greedily trimming the path: https://github.com/serokell/nix-npm-buildpackage/blob/master/default.nix#L85
The text was updated successfully, but these errors were encountered: