Skip to content
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

安装时需要卸载 npm #134

Open
MacroUniverse opened this issue May 24, 2020 · 2 comments
Open

安装时需要卸载 npm #134

MacroUniverse opened this issue May 24, 2020 · 2 comments

Comments

@MacroUniverse
Copy link

我用 Ubuntu18.04 按照这里 的提示安装 ossfs, 安装确认是提示即将卸载 libssl1.0-dev node-gyp nodejs-dev npm 这是为什么呢?
WeChat Image_20200524185530
如果重新安装 npm, 又提示 ossfs 将被卸载。 两个都需要怎么办?

@Alan-Liang
Copy link

npm 依赖项太多了……
我检查了一下一起被卸载的 nodejs-dev,实际上应该是 libssl1.0-dev 的锅。libssl1.0-dev 和 libssl-dev 冲突(因为 libssl-dev 是 libssl1.1-dev),而很多东西(包括 ossfs)都依赖 libssl-dev。不知道为什么 bionic-updates 里的 nodejs-dev 竟然依赖 libssl1.0-dev 而不是 libssl-dev……

建议:卸载掉官方源里出于 ABI 稳定性一直停留在 8.x 的 nodejs nodejs-dev npm 以及一切 node 相关包,用 nodesource 的源装 node。(可以用清华的镜像,国内会快一些。)

@MacroUniverse
Copy link
Author

好的谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants