node-gyp

npm install sqlite3 - gyp error: unable to get local issuer certificate

孤街醉人 提交于 2020-06-29 04:52:10
问题 I am working on clean Windows 10 installation. When trying to run npm install sqlite3 from myproject path, getting the following error: gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: unable to get local issuer certificate gyp ERR! stack at TLSSocket.onConnectSecure (_tls_wrap.js:1474:34) gyp ERR! stack at TLSSocket.emit (events.js:310:20) gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:917:8) gyp ERR! stack at TLSWrap.ssl

How to fix gyp ERR! inside a npm build

社会主义新天地 提交于 2020-06-17 09:18:09
问题 I recently built a mean stack app and containerized it. However, I have trouble build it on my raspberry pi and I don't understand the error. When I build my app over my debian machine, everything build perfectly. Even if I get this line during the build process: node-pre-gyp WARN Using needle for node-pre-gyp https download Unfortunately, I cannot build the same container on my raspberry. This warning get really worse and exit with error code 1: node-pre-gyp WARN Using needle for node-pre

npm install fails on node-gyp rebuild with ```gyp: No Xcode or CLT version detected!```

萝らか妹 提交于 2020-05-24 21:17:12
问题 Every time I try to do npm install I am getting the following error. How do I fix this? I am on node -v → v8.8.0 & npm -v → v6.11.3 I tried running it on vsCode terminal and iTerm , I ended up getting the same error. (both are updated to the latest version). The only new thing I did is update my macOS to the latest version i.e., Catalina 10.15.3 today. $ npm install Fri Mar 6 17:22:40 2020 > fsevents@1.2.11 install /Users/synapse/Documents/synapsefi-dev-ui/node_modules/watchpack/node_modules

npm install failed gatsby dev blog

走远了吗. 提交于 2020-05-17 08:52:27
问题 I've been spending hours on this problem of my gatsby dev blog. I cloned it from my repository and ran npm install , also with sudo privilege, but it failed. Could anyone tell me what's the issue? Here's the error that I'm getting: localhost@localhost:~/Desktop/devBlog$ sudo npm install [sudo] password for hellRaiser: npm WARN tarball tarball data for typeface-montserrat@0.0.54 (sha512-Typhap0PWT299+Va0G/8ZtycHMXrH4gBWKfiW977KEBx5rXUUCa70gvqLx1fdA0WAo6bhSAQmo8uc+QFAmjPww==) seems to be

npm install failed gatsby dev blog

半腔热情 提交于 2020-05-17 08:52:05
问题 I've been spending hours on this problem of my gatsby dev blog. I cloned it from my repository and ran npm install , also with sudo privilege, but it failed. Could anyone tell me what's the issue? Here's the error that I'm getting: localhost@localhost:~/Desktop/devBlog$ sudo npm install [sudo] password for hellRaiser: npm WARN tarball tarball data for typeface-montserrat@0.0.54 (sha512-Typhap0PWT299+Va0G/8ZtycHMXrH4gBWKfiW977KEBx5rXUUCa70gvqLx1fdA0WAo6bhSAQmo8uc+QFAmjPww==) seems to be

Is there wildcard mechanism for listing sources in node-gyp

徘徊边缘 提交于 2020-05-09 21:47:53
问题 I'm writing binding.gyp file for my new node.js module. I have all my source files under src/ subdirectory. I would like to use all of them while building the module. Instead of modifying binding.gyp each time I add a new cpp file, I would like to list all cpp files through some wildcard mechanism. Does node-gyp support that? Something like following (which doesn't work { 'targets' : [ { 'target_name' : 'mymod', 'sources' : 'src/*.cpp' } ] } I looked at https://code.google.com/p/gyp/wiki

Is there wildcard mechanism for listing sources in node-gyp

拈花ヽ惹草 提交于 2020-05-09 21:47:19
问题 I'm writing binding.gyp file for my new node.js module. I have all my source files under src/ subdirectory. I would like to use all of them while building the module. Instead of modifying binding.gyp each time I add a new cpp file, I would like to list all cpp files through some wildcard mechanism. Does node-gyp support that? Something like following (which doesn't work { 'targets' : [ { 'target_name' : 'mymod', 'sources' : 'src/*.cpp' } ] } I looked at https://code.google.com/p/gyp/wiki

Is there wildcard mechanism for listing sources in node-gyp

◇◆丶佛笑我妖孽 提交于 2020-05-09 21:46:14
问题 I'm writing binding.gyp file for my new node.js module. I have all my source files under src/ subdirectory. I would like to use all of them while building the module. Instead of modifying binding.gyp each time I add a new cpp file, I would like to list all cpp files through some wildcard mechanism. Does node-gyp support that? Something like following (which doesn't work { 'targets' : [ { 'target_name' : 'mymod', 'sources' : 'src/*.cpp' } ] } I looked at https://code.google.com/p/gyp/wiki

node-gyp compile error c2240 cannot convert from 'v8::Value *' to 'v8:object *volatile'

时光怂恿深爱的人放手 提交于 2020-05-09 07:03:39
问题 The 2440 error point into the ".node-gyp\4.4.5\include\node\v8.h(221)", so I have no idea what's goes wrong. p.s. compiled on a windows machine. Is there any way to figure out which sentence is causing this error, it's my first time to use node-gyp, thanks. 回答1: Same issue here. Most probably because we use newer nodejs v4.4.5 version and it can no longer work with C++ Build Tools in Visual Studio 2012/2013. (someone else can clarify this?) You can try C++ Build Tools in Visual Studio 2015

npm,nodejs,node-gyp,python not finding for gyp

拥有回忆 提交于 2020-04-18 02:38:39
问题 There is an issue with my nodejs program, when trying to install certain things like nodemon, it gives me an error message saying that the node-gyp -v v5.0.7 is "not ok" and also that python could not be found (since node-gyp needs python and c++ I believe.) The interesting thing is that when typing python in my bash console on vscode, it pops up with the following message... $ python bash: /c/Users/Mickell/AppData/Local/Microsoft/WindowsApps/python: Permission denied. console error log... $