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
[BUG] "npm uninstall" do not remove all files #7427
Comments
There's a few things to note:
|
As upstream you really recommend not to install from the GNU/Linux distros package repository? This confuses me. Then why doing the Debian maintainers investing resources to bring your package into their repo. Installing from upstream (if available via apt) is not the way it goes at Debian.
That is correct and on purpose. Not using 3rd party repositories for security reasons. I do use upstream (if not in Debian) or the Debian repo.
Isn't there an "entry point" for npm packages like python (pip(x)) create them? npx is the npm-shell/-interpreter like python3? |
I understand the way Debian wants to do things; in practice, it doesn't work out very well. Software should only be installed from distribution mechanisms endorsed by the software's maintainers. Virtually no upstreams in the JS ecosystem will recommend, support, or endorse installing from anything but the npm registry. If you're using github, you're getting much less security than using the npm registry.
|
Please fill out |
|
Based on this it seems this is not a bug, but a general issue w/ your expectations of npm versus reality. As Jordan suggested, Closing this as it does not seem there's a bug. If you would like more general discussion around npm and what it does you can check out https://github.com/npm/feedback/discussions |
The issue is less about the behavior of npm but about its verbosity. About Microsoft GitHub / upstream install vs. 3rd party repository install: Do you have evidence about it? Just for learning. |
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I was redirected from: npm/documentation#1072
Using "npm" from Debian stable. I am not familiar with npm and its universe.
I installed an application via
First problem is that this command did create a new folder (node_modules) and two files (package-lock.json and package.json) direct in my current working folder. This is behavior I do not expect from a package manager. From my users perspective this is a bug. I would expect to get the application installed into the system (like pip(x) does it in the Python universe).
Second problem is that even after installing the "hallmark" command is not available in my PATH. Don't know how to execute it. What is it what "npm" does when not installing it?
Third problem is that
$ npm uninstall hallmark
did not remove the three objects from the file system I mention in the first problem.Expected Behavior
Steps To Reproduce
$ npm i https://github.com/vweevers/hallmark
$ npm u hallmark
$ ls -l
Environment
The text was updated successfully, but these errors were encountered: