Skip to Content
1
Oct 08, 2019 at 10:22 AM

Sqlite3 error when running my project

316 Views Last edit Oct 08, 2019 at 02:46 PM 2 rev

Hello,

I have my project, using Node.js and CDS deployed on Cloud Floundry, developed using WebIDE, and I keep getting this error after trying to use the ORM inside the "@sap/cds" package.

sh: 1: node-pre-gyp: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 126
npm ERR! sqlite3@4.1.0 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 126
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 log of this run can be found in:
npm ERR!     /home/vcap/.npm/_logs/2019-10-07T14_14_09_536Z-debug.log
       [31;1m**ERROR**[0m Unable to build dependencies: exit status 126
Failed to compile droplet: Failed to run all supply scripts: exit status 14
Exit status 223