Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install error #184

Open
AutismPatient opened this issue Sep 22, 2022 · 0 comments
Open

npm install error #184

AutismPatient opened this issue Sep 22, 2022 · 0 comments

Comments

@AutismPatient
Copy link

    npm ERR! Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\Admini
strator\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.
js build --fallback-to-build --module=C:\data\landun\workspace\p-a214aefe5acd4d5
7a557c7a9a2893a0e\src\node_modules\sqlite3\lib\binding\electron-v18.1-win32-x64\
node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\data\landun\worksp
ace\p-a214aefe5acd4d57a557c7a9a2893a0e\src\node_modules\sqlite3\lib\binding\elec
tron-v18.1-win32-x64 --napi_version=8 --node_abi_napi=napi --napi_build_version=
0 --node_napi_label=electron-v18.1' (1)
    npm ERR! node-pre-gyp info it worked if it ends with ok
    npm ERR! node-pre-gyp info using [email protected]
    npm ERR! node-pre-gyp info using [email protected] | win32 | x64
    npm ERR! node-pre-gyp WARN Using request for node-pre-gyp https download
    npm ERR! node-pre-gyp http GET https://mapbox-node-binary.s3.amazonaws.com/s
qlite3/v4.2.0/electron-v18.1-win32-x64.tar.gz
    npm ERR! node-pre-gyp http 403 https://mapbox-node-binary.s3.amazonaws.com/s
qlite3/v4.2.0/electron-v18.1-win32-x64.tar.gz
    npm ERR! node-pre-gyp WARN Tried to download(403): https://mapbox-node-binar
y.s3.amazonaws.com/sqlite3/v4.2.0/electron-v18.1-win32-x64.tar.gz
    npm ERR! node-pre-gyp WARN Pre-built binaries not found for [email protected] an
d [email protected] (electron-v18.1 ABI, unknown) (falling back to source compile
with node-gyp)
    npm ERR! node-pre-gyp http 403 status code downloading tarball https://mapbo
x-node-binary.s3.amazonaws.com/sqlite3/v4.2.0/electron-v18.1-win32-x64.tar.gz
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using [email protected]
    npm ERR! gyp info using [email protected] | win32 | x64
    npm ERR! gyp info ok
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using [email protected]
    npm ERR! gyp info using [email protected] | win32 | x64
    npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Python
39\python3.exe"
    npm ERR! gyp info find VS using VS2017 (15.9.28307.2094) found at:
    npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\20
17\BuildTools"
    npm ERR! gyp info find VS run with --verbose for detailed information
    npm ERR! gyp info spawn C:\Python39\python3.exe
    npm ERR! gyp info spawn args [
    npm ERR! gyp info spawn args   'C:\\Users\\Administrator\\AppData\\Roaming\\
npm\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py',
    npm ERR! gyp info spawn args   'binding.gyp',
    npm ERR! gyp info spawn args   '-f',
    npm ERR! gyp info spawn args   'msvs',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   'C:\\data\\landun\\workspace\\p-a214aefe5acd4
d57a557c7a9a2893a0e\\src\\node_modules\\sqlite3\\build\\config.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   'C:\\Users\\Administrator\\AppData\\Roaming\\
npm\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   'C:\\Users\\Administrator\\.electron-gyp\\18.
1.0\\include\\node\\common.gypi',
    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
    npm ERR! gyp info spawn args   '-Dvisibility=default',
    npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\Users\\Administrator\\.e
lectron-gyp\\18.1.0',
    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\Administrator\\App
Data\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp',
    npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\Administrator
\\\\.electron-gyp\\\\18.1.0\\\\<(target_arch)\\\\node.lib',
    npm ERR! gyp info spawn args   '-Dmodule_root_dir=C:\\data\\landun\\workspac
e\\p-a214aefe5acd4d57a557c7a9a2893a0e\\src\\node_modules\\sqlite3',
    npm ERR! gyp info spawn args   '-Dnode_engine=v8',
    npm ERR! gyp info spawn args   '--depth=.',
    npm ERR! gyp info spawn args   '--no-parallel',
    npm ERR! gyp info spawn args   '--generator-output',
    npm ERR! gyp info spawn args   'C:\\data\\landun\\workspace\\p-a214aefe5acd4
d57a557c7a9a2893a0e\\src\\node_modules\\sqlite3\\build',
    npm ERR! gyp info spawn args   '-Goutput_dir=.'
    npm ERR! gyp info spawn args ]
    npm ERR! gyp info ok
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using [email protected]
    npm ERR! gyp info using [email protected] | win32 | x64
    npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\
BuildTools\MSBuild\15.0\Bin\MSBuild.exe
    npm ERR! gyp info spawn args [
    npm ERR! gyp info spawn args   'build/binding.sln',
    npm ERR! gyp info spawn args   '/clp:Verbosity=minimal',
    npm ERR! gyp info spawn args   '/nologo',
    npm ERR! gyp info spawn args   '/p:Configuration=Release;Platform=x64'
    npm ERR! gyp info spawn args ]
    npm ERR! gyp ERR! build error
    npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Stud
io\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
    npm ERR! gyp ERR! stack     at ChildProcess.onExit (C:\Users\Administrator\A
ppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:201:23)
    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:int
ernal/child_process:291:12)
    npm ERR! gyp ERR! System Windows_NT 6.3.9600
    npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\
Administrator\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\
\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=C:\\data\\landun\\wor
kspace\\p-a214aefe5acd4d57a557c7a9a2893a0e\\src\\node_modules\\sqlite3\\lib\\bin
ding\\electron-v18.1-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3"
"--module_path=C:\\data\\landun\\workspace\\p-a214aefe5acd4d57a557c7a9a2893a0e\\
src\\node_modules\\sqlite3\\lib\\binding\\electron-v18.1-win32-x64" "--napi_vers
ion=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=electr
on-v18.1"
    npm ERR! gyp ERR! cwd C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a28
93a0e\src\node_modules\sqlite3
    npm ERR! gyp ERR! node -v v16.17.0
    npm ERR! gyp ERR! node-gyp -v v9.1.0
    npm ERR! gyp ERR! not ok
    npm ERR! node-pre-gyp ERR! build error
    npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\
nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\node
_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\data\lan
dun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src\node_modules\sqlite3\lib\bi
nding\electron-v18.1-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --mo
dule_path=C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src\node_m
odules\sqlite3\lib\binding\electron-v18.1-win32-x64 --napi_version=8 --node_abi_
napi=napi --napi_build_version=0 --node_napi_label=electron-v18.1' (1)
    npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\data\la
ndun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src\node_modules\node-pre-gyp\
lib\util\compile.js:83:29)
    npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:2
8)
    npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_proc
ess:1093:16)
    npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit
(node:internal/child_process:302:5)
    npm ERR! node-pre-gyp ERR! System Windows_NT 6.3.9600
    npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:
\\data\\landun\\workspace\\p-a214aefe5acd4d57a557c7a9a2893a0e\\src\\node_modules
\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
    npm ERR! node-pre-gyp ERR! cwd C:\data\landun\workspace\p-a214aefe5acd4d57a5
57c7a9a2893a0e\src\node_modules\sqlite3
    npm ERR! node-pre-gyp ERR! node -v v16.17.0
    npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
    npm ERR! node-pre-gyp ERR! not ok

    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-09-22
T01_54_46_348Z-debug-0.log

                    command='C:\Program Files\nodejs\node.exe' 'C:\Users\Adminis
trator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js' rebuild [email protected]
 [email protected]
                    workingDir=
npm ERR! code 1
npm ERR! path C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c electron-builder install-a
pp-deps

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-09-22T01_
54_32_771Z-debug-0.log

C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src>
C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src>
C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src>python --version

Python 2.7.15

C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src>python3 --versio
n
Python 3.9.6

C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src>npm install

> [email protected] postinstall
> electron-builder install-app-deps

  • electron-builder  version=22.14.13
  • rebuilding native dependencies  [email protected], [email protected] pla
tform=win32 arch=x64
  ⨯ cannot execute  cause=exit status 1
                    errorOut=npm ERR! code 1
    npm ERR! path C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\sr
c\node_modules\fibers
    npm ERR! command failed
    npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node build.js || nodej
s build.js
    npm ERR! `win32-x64-93` exists; testing
    npm ERR! Problem with the binary; manual build incoming
    npm ERR! Building the projects in this solution one at a time. To enable par
allel build, please add the "/m" switch.
    npm ERR!   fibers.cc
    npm ERR! c:\users\administrator\.electron-gyp\18.1.0\include\node\v8-traced-
handle.h(240): error C2061: syntax error: identifier 'TracedGlobal<`template-typ
e-parameter-1'>' [C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\sr
c\node_modules\fibers\build\fibers.vcxproj]
    npm ERR!   c:\users\administrator\.electron-gyp\18.1.0\include\node\v8-trace
d-handle.h(335): note: see reference to class template instantiation 'v8::Traced
Global<T>' being compiled
    npm ERR! c:\users\administrator\.electron-gyp\18.1.0\include\node\v8-traced-
handle.h(240): error C2334: unexpected token(s) preceding ':'; skipping apparent
 function body [C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src\
node_modules\fibers\build\fibers.vcxproj]
    npm ERR! c:\users\administrator\.electron-gyp\18.1.0\include\node\v8-traced-
handle.h(22): fatal error C1075: '{': no matching token found [C:\data\landun\wo
rkspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src\node_modules\fibers\build\fibers.
vcxproj]
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using [email protected]
    npm ERR! gyp info using [email protected] | win32 | x64
    npm ERR! gyp info find Python using Python version 3.9.6 found at "C:\Python
39\python3.exe"
    npm ERR! gyp info find VS using VS2017 (15.9.28307.2094) found at:
    npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\20
17\BuildTools"
    npm ERR! gyp info find VS run with --verbose for detailed information
    npm ERR! gyp info spawn C:\Python39\python3.exe
    npm ERR! gyp info spawn args [
    npm ERR! gyp info spawn args   'C:\\data\\landun\\workspace\\p-a214aefe5acd4
d57a557c7a9a2893a0e\\src\\node_modules\\node-gyp\\gyp\\gyp_main.py',
    npm ERR! gyp info spawn args   'binding.gyp',
    npm ERR! gyp info spawn args   '-f',
    npm ERR! gyp info spawn args   'msvs',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   'C:\\data\\landun\\workspace\\p-a214aefe5acd4
d57a557c7a9a2893a0e\\src\\node_modules\\fibers\\build\\config.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   'C:\\data\\landun\\workspace\\p-a214aefe5acd4
d57a557c7a9a2893a0e\\src\\node_modules\\node-gyp\\addon.gypi',
    npm ERR! gyp info spawn args   '-I',
    npm ERR! gyp info spawn args   'C:\\Users\\Administrator\\.electron-gyp\\18.
1.0\\include\\node\\common.gypi',
    npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
    npm ERR! gyp info spawn args   '-Dvisibility=default',
    npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\Users\\Administrator\\.e
lectron-gyp\\18.1.0',
    npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\data\\landun\\workspace\\
p-a214aefe5acd4d57a557c7a9a2893a0e\\src\\node_modules\\node-gyp',
    npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\Administrator
\\\\.electron-gyp\\\\18.1.0\\\\<(target_arch)\\\\node.lib',
    npm ERR! gyp info spawn args   '-Dmodule_root_dir=C:\\data\\landun\\workspac
e\\p-a214aefe5acd4d57a557c7a9a2893a0e\\src\\node_modules\\fibers',
    npm ERR! gyp info spawn args   '-Dnode_engine=v8',
    npm ERR! gyp info spawn args   '--depth=.',
    npm ERR! gyp info spawn args   '--no-parallel',
    npm ERR! gyp info spawn args   '--generator-output',
    npm ERR! gyp info spawn args   'C:\\data\\landun\\workspace\\p-a214aefe5acd4
d57a557c7a9a2893a0e\\src\\node_modules\\fibers\\build',
    npm ERR! gyp info spawn args   '-Goutput_dir=.'
    npm ERR! gyp info spawn args ]
    npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\
BuildTools\MSBuild\15.0\Bin\MSBuild.exe
    npm ERR! gyp info spawn args [
    npm ERR! gyp info spawn args   'build/binding.sln',
    npm ERR! gyp info spawn args   '/clp:Verbosity=minimal',
    npm ERR! gyp info spawn args   '/nologo',
    npm ERR! gyp info spawn args   '/p:Configuration=Release;Platform=x64'
    npm ERR! gyp info spawn args ]
    npm ERR! gyp ERR! build error
    npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Stud
io\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
    npm ERR! gyp ERR! stack     at ChildProcess.onExit (C:\data\landun\workspace
\p-a214aefe5acd4d57a557c7a9a2893a0e\src\node_modules\node-gyp\lib\build.js:194:2
3)
    npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
    npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:int
ernal/child_process:291:12)
    npm ERR! gyp ERR! System Windows_NT 6.3.9600
    npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\data\\l
andun\\workspace\\p-a214aefe5acd4d57a557c7a9a2893a0e\\src\\node_modules\\node-gy
p\\bin\\node-gyp.js" "rebuild" "--release"
    npm ERR! gyp ERR! cwd C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a28
93a0e\src\node_modules\fibers
    npm ERR! gyp ERR! node -v v16.17.0
    npm ERR! gyp ERR! node-gyp -v v8.4.1
    npm ERR! gyp ERR! not ok
    npm ERR! node-gyp exited with code: 1
    npm ERR! Please make sure you are using a supported platform and node versio
n. If you
    npm ERR! would like to compile fibers on this machine please make sure you h
ave setup your
    npm ERR! build environment--
    npm ERR! Windows + OS X instructions here: https://github.com/nodejs/node-gy
p
    npm ERR! Ubuntu users please run: `sudo apt-get install g++ build-essential`

    npm ERR! RHEL users please run: `yum install gcc-c++` and `yum groupinstall
'Development Tools'`
    npm ERR! Alpine users please run: `sudo apk add python make g++`
    npm ERR! 'nodejs' is not recognized as an internal or external command,
    npm ERR! operable program or batch file.

    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-09-22
T02_17_43_951Z-debug-0.log

                    command='C:\Program Files\nodejs\node.exe' 'C:\Users\Adminis
trator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js' rebuild [email protected]
 [email protected]
                    workingDir=
npm ERR! code 1
npm ERR! path C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c electron-builder install-a
pp-deps

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Administrator\AppData\Local\npm-cache\_logs\2022-09-22T02_
17_35_988Z-debug-0.log

C:\data\landun\workspace\p-a214aefe5acd4d57a557c7a9a2893a0e\src>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant