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
First of all, thank you very much for this project, it has been very convenient for me, but of course I also encountered the problem of nrm naming conflicts, whenever I want to uninstall a package, I still need to determine the current package manager, considering how often npm uninstall is used, I think I need to discuss this issue.
When I read #33, my first thought was to customize the alias in .nirc, but that didn't seem to work when I tried to dynamically generate the bin file.
idea: read the configuration before install and generate the bin file, add it to directories.bin.
First of all, thank you very much for this project, it has been very convenient for me, but of course I also encountered the problem of
nrm
naming conflicts, whenever I want to uninstall a package, I still need to determine the current package manager, considering how oftennpm uninstall
is used, I think I need to discuss this issue.When I read #33, my first thought was to customize the alias in
.nirc
, but that didn't seem to work when I tried to dynamically generate the bin file.idea: read the configuration before install and generate the bin file, add it to
directories.bin
.Reference:
preinstall
: https://docs.npmjs.com/cli/v8/using-npm/scripts#life-cycle-scriptsdirectories.bin
: https://docs.npmjs.com/cli/v8/configuring-npm/package-json#directoriesbinbin-links
: https://github.com/npm/bin-linksSimilar Questions: https://stackoverflow.com/questions/67665230/can-i-add-files-to-directories-bin-dynamically-through-npm-script-before-npm-pro
After I researched and tried the above options with no results, I had to post the question to the community for further discussion.
If there is no other solution, is it possible to change
nrm
tonun
or some other name ...😂...The text was updated successfully, but these errors were encountered: