Nic*_*roi 5 arch-linux node.js
我正在尝试在 ArchLinux 中将 nodejs 升级到版本 0.6.3-1,但在“检查文件冲突”步骤中遇到冲突。它抱怨 npm 目录中有一堆文件:
nodejs: /usr/bin/npm exists in filesystem
nodejs: /usr/lib/node_modules/npm/.gitmodules exists in filesystem
nodejs: /usr/lib/node_modules/npm/AUTHORS exists in filesystem
nodejs: /usr/lib/node_modules/npm/CHANGES exists in filesystem
nodejs: /usr/lib/node_modules/npm/LICENSE exists in filesystem
...
Run Code Online (Sandbox Code Playgroud)
我发现该包中有一些关于包含 NPM 的更改,但我不知道如何在不擦除所有 NPM 包的情况下使升级工作。有没有解决的办法?
use*_*686 11
告诉 pacman 使用--force.
pacman -S --force nodejs
Run Code Online (Sandbox Code Playgroud)
注意:使用该--force选项时要非常小心。它打破东西的频率比它修复的要多。
| 归档时间: |
|
| 查看次数: |
1841 次 |
| 最近记录: |