I'm trying to understand if it is necessary to run a npm install after upgrading node/npm from 6.x to 8.x. If so, can you please explain why this is done? I had a hard time finding some documentation around this.
我试图了解在将node / npm从6.x升级到8.x之后是否有必要运行npm安装。如果是这样,你能解释一下为什么这样做了吗?我很难找到一些关于此的文档。
1 个解决方案
#1
0
You should at least run npm rebuild
.
你应该至少运行npm rebuild。
Some packages may choose to do things differently in a different Node.js environment, particularly when it comes to binary modules.
有些软件包可能会选择在不同的Node.js环境中以不同的方式执行操作,特别是在涉及二进制模块时。
#1
0
You should at least run npm rebuild
.
你应该至少运行npm rebuild。
Some packages may choose to do things differently in a different Node.js environment, particularly when it comes to binary modules.
有些软件包可能会选择在不同的Node.js环境中以不同的方式执行操作,特别是在涉及二进制模块时。