Skip to content

fix(deps): 将 npm 升级到 8.19.3#467

Open
1665169869 wants to merge 1 commit into
rubickCenter:masterfrom
1665169869:fix-feature-npm-update
Open

fix(deps): 将 npm 升级到 8.19.3#467
1665169869 wants to merge 1 commit into
rubickCenter:masterfrom
1665169869:fix-feature-npm-update

Conversation

@1665169869
Copy link
Copy Markdown

以解决 Windows 上原生模块构建失败的问题。

以解决 Windows 上原生模块构建失败的问题。
@1665169869
Copy link
Copy Markdown
Author

在windows11上(仅测试过win11),clone项目后执行yarn install会提示找不到vs2022报错,经排查,node-gyp5.11版本会导致构建失败,只能升级npm包管理器

Comment thread package.json
"lodash.debounce": "^4.0.8",
"memorystream": "^0.3.1",
"node-key-sender": "^1.0.11",
"npm": "6.14.7",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

现在不依赖 npm 包了,改成了依赖本地 node 环境,所以可以 remove 掉这个依赖

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的,之前依赖这个包会导致编译node-gyp失败

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

Successfully merging this pull request may close these issues.

2 participants