小编Tyl*_*ler的帖子

在 Mac 上进行 npm 安装时出现 Node-gyp 构建错误

我有一个 Angular 应用程序,我正在尝试在本地 Mac 计算机上设置它。但是当我使用 npm install 安装依赖项时,出现以下错误

npm ERR! code 1
npm ERR! path /Users/tum/Desktop/nx-pricing-sample/node_modules/@parcel/watcher
npm ERR! command failed
npm ERR! command sh -c -- node-gyp-build
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@16.19.0 | darwin | arm64
npm ERR! gyp info find Python using Python version 3.12.0 found at "/Library/Frameworks/Python.framework/Versions/3.12/bin/python3"
npm ERR! (node:2058) \[DEP0150\] DeprecationWarning: Setting process.config is deprecated. In the future the …
Run Code Online (Sandbox Code Playgroud)

node.js npm node-gyp npm-install

6
推荐指数
1
解决办法
9786
查看次数

标签 统计

node-gyp ×1

node.js ×1

npm ×1

npm-install ×1