KjetilVaa / Sello

React Native app designed for making buying and selling books easier for students.
0 stars 1 forks source link

error #1

Open charliewang789 opened 5 years ago

charliewang789 commented 5 years ago

Hi when I run npm install, i got the following errors, any suggestion?

node-pre-gyp ERR! Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-win32-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.16.1 (node-v64 ABI) (falling back to source compile with node-gyp) node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v64-win32-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.13 and node@10.16.1 (node-v64 ABI) (falling back to source compile with node-gyp) gypgyp ERR! ERR! configure error configure error gypgyp ERR!ERR! stackstack Error: Command failed: C:\Users\INTEL\AppData\Local\Programs\Python\Python36\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; Error: Command failed: C:\Users\INTEL\AppData\Local\Programs\Python\Python36\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gypgyp ERR!ERR! stackstack File "", line 1 File "", line 1 gypgyp ERR!ERR! stackstack import sys; print "%s.%s.%s" % sys.version_info[:3]; import sys; print "%s.%s.%s" % sys.version_info[:3]; gypgyp ERR!ERR! stack ^ stackgyp ^ gypERR! ERR!stack SyntaxError: invalid syntax stackgyp SyntaxError: invalid syntax gypERR! ERR!stack stackgyp gypERR! ERR!stack at ChildProcess.exithandler (child_process.js:294:12) stackgyp at ChildProcess.exithandler (child_process.js:294:12) gypERR! ERR!stack at ChildProcess.emit (events.js:198:13) stackgyp at ChildProcess.emit (events.js:198:13) gypERR! ERR!stack at maybeClose (internal/child_process.js:982:16) stackgyp at maybeClose (internal/child_process.js:982:16) gypERR! ERR!stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR!gyp SystemERR! Windows_NT 10.0.18362 gypSystem Windows_NT 10.0.18362 ERR!gyp commandERR! "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64" gypcommand "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64" ERR!gyp cwdERR! D:\source\Sello\node_modules\sqlite3 gypcwd D:\source\Sello\node_modules\sqlite3 ERR!gyp node -vERR! v10.16.1 gypnode -v v10.16.1 ERR!gyp node-gyp -vERR! v3.8.0 gypnode-gyp -v v3.8.0 ERR!gyp ERR!not ok not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64' (1) node-pre-gyp ERR! stack at ChildProcess. (D:\source\Sello\node_modules\sqlite3\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:198:13) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:982:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) node-pre-gyp ERR! System Windows_NT 10.0.18362 node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\source\Sello\node_modules\sqlite3\node_modules\node-pre-gyp\bin\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd D:\source\Sello\node_modules\sqlite3 node-pre-gyp ERR! node -v v10.16.1 node-pre-gyp ERR! node-pre-gyp -v v0.6.38 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=D:\source\Sello\node_modules\sqlite3\lib\binding\node-v64-win32-x64' (1) npm WARN geofire@4.1.2 requires a peer of firebase@^2.4.0 || 3.x.x but none is installed. You must install peer dependencies yourself. npm WARN react-native-branch@2.0.0-beta.3 requires a peer of react@>=15.4.0 but none is installed. You must install peer dependencies yourself. npm WARN lottie-react-native@1.1.1 requires a peer of react@>=15.3.1 but none is installed. You must install peer dependencies yourself. npm WARN react-native-maps@0.14.0 requires a peer of react@>=15.4.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! sqlite3@3.1.13 install: node-pre-gyp install --fallback-to-build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the sqlite3@3.1.13 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! C:\Users\INTEL\AppData\Roaming\npm-cache_logs\2019-09-28T00_46_17_107Z-debug.log

D:\source\Sello>

KjetilVaa commented 5 years ago

Hmm. Have you tried: npm install --build-from-resource Please provide the output from this command.