Skip to content

Can't get Node to install the server dependencies #8

Description

@Swisher1115

I tried to set up the server on both my home and work PCs, running Windows 10, 64-bit.

NPM fails to install the dependencies and produces this console error:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

sqlite3@3.1.9 install D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3
node-pre-gyp install --fallback-to-build

node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.9/node-v57-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3@3.1.9 and node@8.2.1 (node-v57 ABI) (falling back to source compile with node-gyp)

D:>if not defined npm_config_node_gyp (node "C:\Program Files\IBM\SDP\cordova_cli\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node "" clean )

D:>if not defined npm_config_node_gyp (node "C:\Program Files\IBM\SDP\cordova_cli\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build "--modu
le=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64\node_sqlite3.node" --module_name=node_sqlite3 "--module_path=D:\00 - Sencha\Sample Apps\Coworke
e-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64" ) else (node "" configure --fallback-to-build "--module=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib
\binding\node-v57-win32-x64\node_sqlite3.node" --module_name=node_sqlite3 "--module_path=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64" )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Program Files\IBM\SDP\cordova_cli\node_modules\npm\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (C:\Program Files\IBM\SDP\cordova_cli\node_modules\npm\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at C:\Program Files\IBM\SDP\cordova_cli\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\IBM\SDP\cordova_cli\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "configure" "--fallback-to-build" "--modu
le=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=D:\00 - Sencha\Sampl
e Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64"
gyp ERR! cwd D:
gyp ERR! node -v v8.2.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-
x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:125:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:213:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:921:16)
node-pre-gyp ERR! stack at Process.ChildProcess.handle.onexit (internal/child_process.js:211:5)
node-pre-gyp ERR! System Windows_NT 6.1.7601
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\node_modules\node-pre-gyp\bin\node-pre-gyp" "install"
"--fallback-to-build"
node-pre-gyp ERR! cwd D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3
node-pre-gyp ERR! node -v v8.2.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.36
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64\node_sqlite3.node --module

name=node_sqlite3 --module_path=D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\lib\binding\node-v57-win32-x64' (1)
npm WARN Error: EPERM: operation not permitted, scandir 'D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\node_modules\node-pre-gyp\node_modules\nopt\node_modules'
npm WARN { Error: EPERM: operation not permitted, scandir 'D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\node_modules\node-pre-gyp\node_modules\nopt\node_modules'
npm WARN stack: 'Error: EPERM: operation not permitted, scandir 'D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\node_modules\node-pre-gyp\node_modules\nopt\node_m
odules'',
npm WARN errno: -4048,
npm WARN code: 'EPERM',
npm WARN syscall: 'scandir',
npm WARN path: 'D:\00 - Sencha\Sample Apps\Coworkee-master\server\node_modules\sqlite3\node_modules\node-pre-gyp\node_modules\nopt\node_modules' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3@3.1.9 install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3@3.1.9 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\pspadacc\AppData\Roaming\npm-cache_logs\2017-08-07T17_39_04_645Z-debug.log

D:\00 - Sencha\Sample Apps\Coworkee-master\server>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions