-
Notifications
You must be signed in to change notification settings - Fork 3
Cannot build updater
tool.
#4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Good catch. The shell provides everything except the NPM dependencies — ncc, specifically, which might actually be in Nix and I haven’t checked — so you also need to run npm install. |
Ok. Another issue to fix. I get an error when I run
Turns out you have to exit |
Huh — that’s weird. I’m not exiting the shell and Node is included in the shell, which should also include npm automatically. You don’t have access to npm at all in the shell? |
Reproduction from my system: ~/Desktop/governance/updater (main) $ which node
/.../.nvm/versions/node/v12.0.0/bin/node
~/Desktop/governance/updater (main) $ which npm
/.../.nvm/versions/node/v12.0.0/bin/npm
~/Desktop/governance/updater (main) $ nix-shell
[nix-shell:~/.../governance/updater]$ which node
/nix/store/0j4i6dsqq4fvvm7z5zka62vi3xrfgzv6-nodejs-12.15.0/bin/node
[nix-shell:~/.../governance/updater]$ which npm
/nix/store/0j4i6dsqq4fvvm7z5zka62vi3xrfgzv6-nodejs-12.15.0/bin/npm However, it's also acceptable to just run |
The issue arises when I use both |
While following the instructions for compiling the updater tool, I got stuck here:
nix-shell
npm run build
sh: ncc: command not found
:The text was updated successfully, but these errors were encountered: