我最近尝试为我们的项目做一个干净的安装。但是现在在Ubuntu 17.04上安装npm失败了。我已经更改了node、npm、node-gyp和python的版本,但没有成功。
这是由于node-gyp的更改还是其他原因?运行:
node-gyp rebuild
给了我:
gyp info it worked if it ends with ok
gyp info using node-gyp@3.6.2
gyp info using node@7.10.1 | linux | x64
gyp info spawn /usr/bin/python2
gy
我试图安装软件包,我使用了NPM和Yarn,并尝试了几个Node.js版本(14,16,10.)但对我没什么用,我总是犯同样的错误。我正在使用Windows 10 32位和Python
gyp info it worked if it ends with ok
gyp info using node-gyp@8.2.0
gyp info using node@16.13.0 | win32 | ia32
gyp info find Python using Python version 3.11.0 found at \"C:\\Users\\ALI\\AppData\\Local\\
我的iMAC上安装了node-gyp:
macOS Big Sur
Version 11.2.3
当我尝试构建一个模块时:
node-gyp configure build
我得到了:
gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@15.11.0 | darwin | x64
gyp info find Python using Python version 3.9.2 found at "/usr/local/opt/python@3.9/bin/pyth
每当我试图在我的npm install (vue.js)项目中运行nuxt.js或npm update时,下面就会出现错误。
npm ERR! code 1
npm ERR! path /Users/kyeolhan/ForWork/BackOffceFront/node_modules/deasync
npm ERR! command failed
npm ERR! command sh -c node ./build.js
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@7.1.
C:\Python27>node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@0.11.0
gyp info using node@0.10.21 | win32 | ia32
gyp info spawn python
gyp info spawn args [ 'C:\\Users\\v-javde\\AppData\\Roaming\\npm\\node_modules\\
node-gyp\\gyp\\gyp',
gyp info spawn
我已经安装了VS2019(包括MSBuild) ? 当我运行node-gyp configure --msvs_version=2019或node-gyp rebuild时,我会得到以下错误 gyp info it worked if it ends with ok
gyp info using node-gyp@7.1.2
gyp info using node@14.9.0 | win32 | x64
gyp info find Python using Python version 3.7.9 found at "C:\ProgramData\Anaconda
我试图在Windows Subsystem for Linux上通过yarn add node-opus安装node-opus (我不确定这是否可行,但我正在尝试),但在此过程中遇到了错误:
看起来主要的错误是:gyp ERR! stack Error: not found: make,但我觉得这是一个误导性的错误,因为在此之前我已经安装了其他包,一切正常吗?
gyp info it worked if it ends with ok
gyp info using node-gyp@5.0.3
gyp info using node@12.11.1 | linux | x64
gyp info
我正在尝试开始关于node c/c++附加组件。node-gyp命令出错
我已经安装了vs2019,我的命令是
node-gyp configure --msvs_version=2019
详细输出为
gyp info it worked if it ends with ok
gyp info using node-gyp@5.0.3
gyp info using node@10.16.0 | win32 | x64
gyp info find Python using Python version 2.7.15 found at "C:\Users\seact\.windows-bu
我正在编译来自的第一个hello节点-gyp程序。输入“node配置”会导致错误,如下所示。感谢您在修复此错误方面的任何帮助。
node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@0.10.10
.......
.......
Traceback (most recent call last):
File "/usr/local/lib/node_modules/node-gyp/gyp/gyp", line 18, in <module>
sy
pi@raspberrypi ~ $ sudo node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using node-gyp@1.0.2
gyp info using node@0.10.31 | linux | arm
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp'
我尝试在ui.frontendfolder下从archtype23创建的AEM项目中安装'npm install @storybook/aem --save-dev‘,但每次执行以下命令时都会收到以下错误。请帮帮忙。
gyp ERR! find VS
gyp ERR! find VS msvs_version not set from command line or npm config
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
gyp ERR! find VS could not u
我正在尝试使用npm安装node-rdkafka,并看到以下错误
操作系统: macOS Catalina 10.15.7
节点版本: 10.16.3尝试(8.x、12.x和13.x)以及通过nvm
/Users/VMac/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/node-gyp: line 5: /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js: No such file or dir
npm配置集msvs_version不工作,我仍然得到msvs_version not set from command line or npm config。
我设置了所有必要的路径,并安装了VisualStudio2017、2019和2022以及必要的C++ thingys。
完全错误:
gyp info using node-gyp@6.1.0
gyp info using node@16.17.0 | win32 | x64
gyp info find Python using Python version 3.10.7 found at "C:\Python310\pytho
每当我在上运行纱线安装时,我都会收到这个错误。我正在尝试从39升级到44版本的ReactiveNative39,但是当我试图安装任何东西时,我总是会收到这个错误:
Exit code: 1
Command: node-pre-gyp install --fallback-to-build --library=static_library
Arguments:
Directory: D:\new\new-mobile\node_modules\grpc
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info
我目前选择使用webstorm作为IDE,并尝试安装better-sqlite3,但每次尝试安装时都会收到以下错误消息:
更新:我已经完成了故障排除页面上的所有操作,下面是我收到的错误消息:
gyp ERR! find VS
gyp ERR! find VS msvs_version was set from command line or npm config
gyp ERR! find VS - looking for Visual Studio version 2019
gyp ERR! find VS VCINSTALLDIR not set, not running in VS Co
我正在尝试重建node-opencv,以便与node-webkit一起使用。要做到这一点,您需要使用,但我遇到了一些错误。你能告诉我为什么会这样吗?
[~/nw_cv/node_modules/opencv] nw-gyp rebuild --target=0.9.2
gyp info it worked if it ends with ok
gyp info using nw-gyp@0.12.2
gyp info using node@0.10.26 | darwin | x64
gyp info spawn python
gyp info spawn args [ '/usr/l