-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Remove nodejs/node
#1436
Comments
unsure why this was done. do we need a special shim type for handling the behaviour of npm? |
There are several issues for npm support.
e.g. $ which gh
/home/foo/.local/share/aquaproj-aqua/bin/gh So when we install tools with npm, we need to create symbolic links for tools, but it's difficult. npm i -g renovate
When a command is executed, aqua searches the information about the command from aqua.yaml and registries.
Unlike other tools such as nvm and pyenv, aqua doesn't change shell environment variables. |
How about adding the capability of adding environment variables to aquaproxy? Maybe by checking if a file named |
If aqua could somehow configure the npm prefix, then it can control where If the user needs to update their PATH to get to those installed modules, then maybe they can do something like " That could solve the issue of finding globally installed npm packages. That said, installing npm packages globally goes against the reason we are using aqua in the first place, that is, to pin specific versions of packages on a per-project basis and to make it easy to activate that environment. So I think that the most preferred way to use this, would be for users to have a package.json that lists their npm packages and then they will just do a regular In this last mentioned approach, a user will have a aqua i -l
npm install
npx terminalizer |
Thank you for your comment. |
Why?
npm i -g
doesn't work well.When a command is installed by
npm i -g
, the command is installed at the same directory asnpm
.It is difficult to execute the command.
Breaking Change
nodejs/node
is removed.How to migrate
Install Node.js by the other way.
Note
We have to update the document too.
https://aquaproj.github.io/docs/tutorial-extras/use-aqua-with-other-tools
The text was updated successfully, but these errors were encountered: