Questions tagged [node-pre-gyp]

50 questions
8
votes
0 answers

Webpack Ignore node-pre-gyp files

I have a large angular SSR application that uses argon2 on the backend for hashing passwords. I am currently trying to bundle the application using Webpack and having problems with argon2's dependency on @mapbox/node-pre-gyp preventing the Webpack…
Joseph Quinn
  • 101
  • 5
7
votes
5 answers

Unable to install @tensorflow/tfjs-node with npm

I cannot install '@tensorflow/tfjs-node' I installed it using 'npm install @tensorflow/tfjs-node' but the installations fails. I tried installing 'node-pre-gyp' globally, with and without root permissions but no success. I run on node v12.9.0. >…
XENOTnet
  • 101
  • 1
  • 6
5
votes
1 answer

Unable to resolve npm install pre-gyp error

I am trying to install this app locally on my m1 MacBook air > Github - Todoist Clone Running npm install in the terminal is causing the following error, please see log below 10630 verbose node v16.13.2 10631 verbose npm v8.1.2 10632 error code…
Vim Rossi
  • 51
  • 1
  • 2
5
votes
1 answer

Error during npm i : node-pre-gyp install --fallback-to-build --library=static_library

I know i shouldn't just throw a question like this and wish i can provide more information, but i am really no idea what it is and it also my first time encounter such issue (after change to new laptop), i think currently i can only provide the…
Jerry
  • 1,455
  • 1
  • 18
  • 39
4
votes
1 answer

How to fix gyp ERR! inside a npm build

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…
Olivier D'Ancona
  • 779
  • 2
  • 14
  • 30
4
votes
2 answers

node-pre-gyp install error due to possible conflict with node

I failed trying to install and run the amp-paywall-demo example available at the AmpProject GitHub repo: https://github.com/ampproject/samples/tree/master/amp-paywall-demo I already raised an Issue ticket there, but received no response so far…
Rafael Marques
  • 1,335
  • 4
  • 22
  • 35
2
votes
1 answer

Issue with node-pre-gyp while installing argon2 on Mac

I'm trying to install argon2 with yarn add argon2 and get this following error. What I have done: Installed v8.4.1 of node-gyp Installed mapbox/node-pre-gyp v1.0.9 Manually added node-pre-gyp v "0.17.0" into devDeps However the issue still…
Catopus
  • 81
  • 1
  • 8
2
votes
1 answer

Unable to install SQlite - error with node-pre-gyp ( ubuntu 20.04 lts)

Node version: 14.17.5 Npm version: 7.42.0 The problem occurs on the virtual machine when starting CI/CD (rush update or yarn command). I think it happens when I changed my node version, while not rebuilding npm package. I cannot change the node…
tbone
  • 1,148
  • 5
  • 19
  • 35
2
votes
0 answers

Having problem installing sqlite3@5.0.2 on NodeJS

I am trying to install the most recent version of sqlite3 module to make tests of my database models. Note that I am using Ubuntu 21.04. But I am getting this error. Here is the log: 519 info run sqlite3@5.0.2 install node_modules/sqlite3…
Diesan Romero
  • 1,292
  • 4
  • 20
  • 45
2
votes
0 answers

Using WSL to build sqlite3 for Raspi (ARM)

I want build sqlite3 in my WSL (using Debian on a 64-bit machine) to deploy it on my raspberry. I am using the following command npm install sqlite3 --build-from-source --target_arch=arm --target_platform=linux --save The module is built:…
Makuna
  • 558
  • 1
  • 6
  • 19
2
votes
1 answer

How to fix instillation issues with npm modules on Windows 10, including node-pre-gyp? 2019

I've looked at probably 20+ questions relating to this error of installing npm modules and getting a node-pre-gyp or libxmls errors on Windows. Most of the questions are more than a year old, so thought I'd ask this in June 2019 in case there were…
jehicks2
  • 341
  • 1
  • 5
  • 17
2
votes
2 answers

Error while executing the "npm install" command in ubuntu 16.04 LTS using virtualbox 5.2.8 on windows 10(64 bit)

I have been trying to install and run my first hyperledger fabric application (http://hyperledger-fabric.readthedocs.io/en/latest/write_first_app.html) but have been encountering the following issue everytime I run the "npm install" command. Please…
2
votes
0 answers

`node pre gyp` returns wrong node path

I was trying to use node opencv in my code. npm install works fine and correct node_modules are built into the project. But when I'm trying to run the project following error comes up. Error: Cannot find module…
Channa
  • 3,267
  • 7
  • 41
  • 67
1
vote
1 answer

Meteor app fails to deploy in Docker container because node-pre-gyp dependency (fabric js)

I have a simple Meteor project which contains only 1 page with a canvas on it. This canvas is using fabric js which was installed using: meteor npm install --save fabric It works when I run the app on my windows machine (fabric js works and I can…
TomTem
  • 89
  • 9
1
vote
0 answers

Can't install npm pkg on Apple M1 node-pre-gyp error

I wanted to install the tiktok-scraper through node. For this I downgraded node from version 18 to 16, but the packages Installation still won't work. I was getting the following error: user@xxx ~ % npm i -g tiktok-scraper npm WARN deprecated…
Noel Harris
  • 131
  • 1
  • 13
1
2 3 4