Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NPM PROBLEM: Node-pre-gyp. Using request for node-pre-gyp https download

I am creating Angular project and using Express.js as back-end and SQLite3 for database. When I am installing sqlite3 via command npm install sqlite3 I'm getting following error in the console. How can I solve this problem?

> node-pre-gyp install --fallback-to-build

node-pre-gyp WARN Using request for node-pre-gyp https download

Error is at the bottom with purple color

like image 287
jonybekov Avatar asked Oct 09 '18 19:10

jonybekov


1 Answers

It's a warning saying that it needs to download prebuilt binaries to install the module.

sqlite3 is a native module, so it either needs to be built from source or installed via binary download. If you have Visual Studio installed, you ca try npm install sqlite3 --build-from-source, which is also a safer option.

like image 99
mihai Avatar answered Oct 19 '22 20:10

mihai