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
I try to create a flake.nix for a lerna based uhk-agent.
My current version is here
The problem starts with 'lerna bootstrap' postinstall command, which will fail because at that point the cwd will not be the root of project and lerna.json will not exist.
Trying to use the patchPhase to remove the postInstall hook does not work.
My next try was to no use lerna and instead use the 'node_modules' dervation on each dependency in the packages folder and use those as buildInputs in the uhk-agent derivation. But it complains about missing cache: uhk-agent> npm ERR! request to https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz failed: cache mode is 'only-if-cached' but no cached response is available.
How do I use npmlock2nix with lerna based projects ?
The text was updated successfully, but these errors were encountered:
I try to create a flake.nix for a lerna based uhk-agent.
My current version is here
The problem starts with 'lerna bootstrap' postinstall command, which will fail because at that point the cwd will not be the root of project and lerna.json will not exist.
Trying to use the patchPhase to remove the postInstall hook does not work.
My next try was to no use lerna and instead use the 'node_modules' dervation on each dependency in the packages folder and use those as buildInputs in the uhk-agent derivation. But it complains about missing cache:
uhk-agent> npm ERR! request to https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz failed: cache mode is 'only-if-cached' but no cached response is available.
How do I use npmlock2nix with lerna based projects ?
The text was updated successfully, but these errors were encountered: