相关疑难解决方法(0)

节点 gyp 错误 - 无效模式:尝试加载 binding.gyp 时“rU”

运行时出现如下错误yarn install

gyp/bin/node-gyp.js clean configure
gyp info it worked if it ends with ok
gyp info using node-gyp@5.1.1
gyp info using node@16.18.1 | darwin | arm64
gyp info find Python using Python version 3.11.0 found at \"/Library/Frameworks/Python.framework/Versions/3.11/bin/python3\"
(node:28367) [DEP0150] DeprecationWarning: Setting process.config is deprecated. In the future the property will be read-only.
(Use `node --trace-deprecation ...` to show where the warning was created)
gyp info spawn /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
gyp info spawn args [
gyp info spawn args   '/Users/username/chegg-web/node_modules/node-gyp/gyp/gyp_main.py',
gyp info …
Run Code Online (Sandbox Code Playgroud)

node-gyp

69
推荐指数
6
解决办法
6万
查看次数

标签 统计

node-gyp ×1