cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

npm ERR! sqlite3@4.1.0 install: `node-pre-gyp install --fallback-to-build`

cloud_deep28
Explorer
0 Kudos
5,367

Hi Everyone,

Hope you all doing good and Safe at homes.

Since 2 days I am working on existing project to build and see the data atleast.

The project is developed on Cloud application programming Model.

In the project, we have DB,scheduler & SRV folders are already developed.

Please find below the steps that how i am running commands in visual studio code.

1) Cloned the project from bitbucket

2) cd db--> then run npm install

3) cd srv --> then run npm install

4) cd db/scheduler ---> then run npm install

5) npm run local

Kindly correct me if i am doing wrong and suggest me how to proceed with the errors.

Note: Please let me know step by step commands to run the project (means DB & SRV).because whatever I run it ends with a new unknown errors.( I am new to CAP).

I am getting the below error:

sh:1:node-pre-gyp
npm ERR!code ELIFECYCLE
npm ERR! errno 126
npm ERR! sqlite3@4.1.0 install:`node-pre-gyp install --fallback-to-build`
npm ERR!Exitstatus126
npm ERR! 
npm ERR! Failed at the sqlite3@4.1.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete logof this run can be foundin:
npm ERR!/home/vcap/.npm/_logs/2019-10-07T14_14_09_536Z-debug.log**ERROR** Unable to build dependencies:exitstatus126
Failed to compile droplet: Failed torunallsupply scripts:exitstatus14Exitstatus223


Accepted Solutions (1)

Accepted Solutions (1)

WouterLemaire
SAP Mentor
SAP Mentor
0 Kudos

I had the same issue in the past. You have to run the following command:

npm add sqlite3 -D

If that gives you the same error, run this command:

npm install node-pre-gyp -g

And after that, again the first one.

Answers (0)

Ask a Question