Open Aquilafire opened 6 years ago
Try:
sudo npm install -g node-gyp
sudo npm install sqlite3 --build-from-source
ok tanks
Try:
sudo npm install -g node-gyp
sudo npm install sqlite3 --build-from-source
you need this stuff sudo apt install python
and sudo node main.js
to see errors
npm WARN OpenTrade@0.1.0 No license field. npm ERR! Linux 4.9.133-xxxx-std-ipv6-64 npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.2.6 npm ERR! npm v3.5.2 npm ERR! file sh npm ERR! code ELIFECYCLE npm ERR! errno ENOENT npm ERR! syscall spawn
npm ERR! sqlite3@4.0.3 install:
node-pre-gyp install --fallback-to-build
npm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the sqlite3@4.0.3 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the sqlite3 package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs sqlite3 npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls sqlite3 npm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request: npm ERR! /root/opentrade/npm-debug.log