在 ubuntu16.04ls 中卸载的 npm 仍然是 node-red 是 运行

uninstalled npm still node-red is running in ubuntu16.04ls

我已经完全删除了 nodejs 和 npm,但是当我输入“node-red”时,我使用 npm 安装的包,即 node-red 是 运行在 ubuntu 16.04ls 的终端中 我使用“apt-get install nodejs npm”安装了 nodejs 和 npm 然后我使用 npm install node-red -g

安装了 node-red

卸载我做了 apt-get unistall npm nodejs 它卸载成功但是现在当我输入卸载 node-red 时它是 运行

如果@hmnzr 不起作用并且 node-red 是来自 npm 的模块,您也可以使用 npm remove -g node-red,然后如果您只想禁用该模块,您也可以使用 disable.

另外,您也无法卸载正在使用的模块。这意味着在卸载之前清除相关插件的所有节点。有些你可能需要手动删除。

更多命令:npm uninstall node-red-dashboard

如果您需要从调色板管理器中删除模块:单击 manage palette,然后单击 remove 以删除模块。但是在这里你也可以 disable all.

我发现 node-red 文件存储在

/use/local/bin/node-red

当我在终端中输入 node-red 时,它是 运行。另外,还有一个文件 node-red-pi 我现在已经删除了。 而这个 node-red 现在已经不存在了 运行。我想做 thanx @hmnzr 和 King Reload