on 2020 Jun 04 10:03 PM
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[31;1m**ERROR**[0m Unable to build dependencies:exitstatus126
Failed to compile droplet: Failed torunallsupply scripts:exitstatus14Exitstatus223
Request clarification before answering.
I had the same issue in the past. You have to run the following command:
npm add sqlite3 -DIf that gives you the same error, run this command:
npm install node-pre-gyp -gAnd after that, again the first one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.