Questions tagged [node-gyp]

a cross-platform command-line tool used for compiling addon modules for Node.js

Node-gyp is a cross-platform command-line tool written in Node.js for compiling native addon modules for Node.js, which takes away the pain of dealing with the various differences in build platforms.

Source: Github (node-gyp)

974 questions
-1
votes
1 answer

Cannot install better-sqlite3 package on MacOS Ventura

I am trying to install the Node.js package better-sqlite3 on my Strapi App, on my new laptop, a MacBook Pro M2 running on MacOS Ventura 13.2.1. It is not successful because, from what I understood, there are packages missing, and specifically while…
MH info
  • 52
  • 8
-1
votes
1 answer

Make failed while trying to build a nodejs native addon

I am trying to create a native nodejs addon (node v16.19) using node-gyp. The C++ code looks fine, and gives no warnings in my IDE. 'node-gyp configure' runs ok, but when I run 'node-gyp build' I get the stack below. It seems it has something to do…
Matthias
  • 3
  • 3
-1
votes
1 answer

Node.js Angular template - cannot find msbuild.exe

I've bought a template from a theme website in Angular and I'm attempting to install it using npm install - but no matter what I try I'm running into the same error. npm ERR! gyp verb found first Solution file build/binding.sln npm ERR! gyp verb…
Web Develop Wolf
  • 5,996
  • 12
  • 52
  • 101
-1
votes
1 answer

I can't install and run my Project located in GitHub repository with npm install

I installed the project I use ReactJs on my computer via GitHub, but when I use the npm install command for dependencies, I get python-related errors even though my project is not related to python. Project Errors The error log shows a file occured…
oguzduran
  • 34
  • 1
  • 6
-1
votes
1 answer

Error While Trying To Install Ganache CLI

Im getting these errors when trying to install ganache globally on my windows 10, please help C:\Program Files\nodejs\node_modules\ganache\node_modules\leveldown npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp…
mohdraazy
  • 39
  • 2
-1
votes
1 answer

Node-Gyp is returning error while trying to install brain.js

I am trying to install brain.js on my machine. I run npm install brain.js but it doesn't work. It fails with an error. The error is below. I have tried to look up the issue but I can't find any answers. MY INFO NODE VERSION: v16.13.1 NPM VERISON:…
Hackermon
  • 69
  • 1
  • 1
  • 8
-1
votes
1 answer

How do I resolve the node sass install error

npm ERR! gyp ERR! node -v v16.3.0 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok npm ERR! Build failed with error code: 1
-1
votes
1 answer

Long error while installing @wdio/cucumber-framework in Windows

I'm trying to install @wdio/cucumber-framework but I get quite a long error. I have tried to install windows-build-tools. I have also installed Visual C++ build tools for Visual Studio 2019. Here is my output: ~\source\repos\myapp> npm install…
Lassi Autio
  • 1,147
  • 1
  • 13
  • 35
-1
votes
1 answer

How to install node-sqlite3 in yocto?

I have a node.js project in which i am using node-sqlite3 to read write the sqlite3 database. I am using devtool to generate the recipe for node.js. After generating the recipe when i try "bitbake node-project". sqlite3 gives an error of node-gyp…
Hsn
  • 1,168
  • 2
  • 16
  • 39
-1
votes
1 answer

can't rebuild on node-gyp even though I installed its dependencies

I followed option 1 at node-gyp I installed npm install --global --production windows-build-tools and install node-gyp global but I have this error below that I cannot fix node-gyp configure runs ok but i cannot run rebuild. help?
gpbaculio
  • 5,693
  • 13
  • 60
  • 102
-1
votes
1 answer

node-gyp error when installing sharp

I was trying to do an npm install on a project I moved from another machine and this is what I got Error: Python executable "C:\Users\username\AppData\Local\Programs\Python\Python36-32\python.EXE" is v3.6.0, which is not supported by gyp I know…
starleaf1
  • 2,701
  • 6
  • 37
  • 66
-1
votes
1 answer

how I run node-gyp?

I follow this link:http://www.swig.org/Doc3.0/Javascript.html#Javascript_running_swig to make nodejs extension.So I create a folder test which contain example.c #include double My_variable = 3.0; int fact(int n) { if (n <= 1)…
arrow man
  • 51
  • 2
  • 11
-1
votes
1 answer

Node add-on with C++ on Windows 8

I am trying to run basic code of "Hello World", while node Addon C++ way. None of the stuff is different from wats the official standards of node addon mentioned in the url https://nodejs.org/api/addons.html I first created the hello.cc file which…
dev roy
  • 7
  • 3
-2
votes
1 answer

I tried installing the dependencies with npm i, but it doesn't work !! Help me

When I try to install the project dependencies with npm I get this error: Anyone could help me ?
1 2 3
64
65