Created
June 14, 2019 08:38
-
-
Save stoefln/b6fa87a682edc557ee7deaf44944aa34 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error: C:\Program Files\nodejs\node.exe exited with code 1 | |
Output: | |
yarn install v1.16.0 | |
[1/4] Resolving packages... | |
[2/4] Fetching packages... | |
[3/4] Linking dependencies... | |
[4/4] Building fresh packages... | |
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. | |
Error output: | |
error C:\Users\steph\MoviePrint_v004\app\node_modules\better-sqlite3: Command failed. | |
Exit code: 1 | |
Command: node-gyp rebuild | |
Arguments: | |
Directory: C:\Users\steph\MoviePrint_v004\app\node_modules\better-sqlite3 | |
Output: | |
C:\Users\steph\MoviePrint_v004\app\node_modules\better-sqlite3>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) | |
gyp info it worked if it ends with ok | |
gyp info using [email protected] | |
gyp info using [email protected] | win32 | x64 | |
gyp info spawn C:\Users\steph\.windows-build-tools\python27\python.EXE | |
gyp info spawn args [ | |
gyp info spawn args 'C:\\Users\\steph\\AppData\\Roaming\\nvm\\v12.4.0\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py', | |
gyp info spawn args 'binding.gyp', | |
gyp info spawn args '-f', | |
gyp info spawn args 'msvs', | |
gyp info spawn args '-G', | |
gyp info spawn args 'msvs_version=2015', | |
gyp info spawn args '-I', | |
gyp info spawn args 'C:\\Users\\steph\\MoviePrint_v004\\app\\node_modules\\better-sqlite3\\build\\config.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args 'C:\\Users\\steph\\AppData\\Roaming\\nvm\\v12.4.0\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi', | |
gyp info spawn args '-I', | |
gyp info spawn args 'C:\\Users\\steph\\.electron-gyp\\iojs-3.1.3\\common.gypi', | |
gyp info spawn args '-Dlibrary=shared_library', | |
gyp info spawn args '-Dvisibility=default', | |
gyp info spawn args '-Dnode_root_dir=C:\\Users\\steph\\.electron-gyp\\iojs-3.1.3', | |
gyp info spawn args '-Dnode_gyp_dir=C:\\Users\\steph\\AppData\\Roaming\\nvm\\v12.4.0\\node_modules\\npm\\node_modules\\node-gyp', | |
gyp info spawn args '-Dnode_lib_file=C:\\Users\\steph\\.electron-gyp\\iojs-3.1.3\\<(target_arch)\\iojs.lib', | |
gyp info spawn args '-Dmodule_root_dir=C:\\Users\\steph\\MoviePrint_v004\\app\\node_modules\\better-sqlite3', | |
gyp info spawn args '-Dnode_engine=v8', | |
gyp info spawn args '--depth=.', | |
gyp info spawn args '--no-parallel', | |
gyp info spawn args '--generator-output', | |
gyp info spawn args 'C:\\Users\\steph\\MoviePrint_v004\\app\\node_modules\\better-sqlite3\\build', | |
gyp info spawn args '-Goutput_dir=.' | |
gyp info spawn args ] | |
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe | |
gyp info spawn args [ | |
gyp info spawn args 'build/binding.sln', | |
gyp info spawn args '/clp:Verbosity=minimal', | |
gyp info spawn args '/nologo', | |
gyp info spawn args '/p:Configuration=Release;Platform=x64' | |
gyp info spawn args ] | |
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. | |
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\Users\steph\MoviePrint_v004\app\node_modules\better-sqlite3\build\deps\locate_sqlite3.vcxproj] | |
gyp ERR! build error | |
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 | |
gyp ERR! stack at ChildProcess.onExit (C:\Users\steph\AppData\Roaming\nvm\v12.4.0\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23) | |
gyp ERR! stack at ChildProcess.emit (events.js:200:13) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12) | |
gyp ERR! System Windows_NT 10.0.18362 | |
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" | |
gyp ERR! cwd C:\Users\steph\MoviePrint_v004\app\node_modules\better-sqlite3 | |
gyp ERR! node -v v12.4.0 | |
gyp ERR! node-gyp -v v3.8.0 | |
gyp ERR! not ok | |
at ChildProcess.<anonymous> (C:\Users\steph\MoviePrint_v004\node_modules\builder-util\src\util.ts:244:14) | |
at Object.onceWrapper (events.js:288:20) | |
at ChildProcess.emit (events.js:200:13) | |
at maybeClose (internal/child_process.js:1021:16) | |
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5) | |
From previous event: | |
at _installOrRebuild (C:\Users\steph\MoviePrint_v004\node_modules\app-builder-lib\out\util\yarn.js:71:28) | |
at installOrRebuild (C:\Users\steph\MoviePrint_v004\node_modules\app-builder-lib\out\util\yarn.js:55:28) | |
at C:\Users\steph\MoviePrint_v004\node_modules\electron-builder\src\cli\install-app-deps.ts:56:9 | |
at Generator.next (<anonymous>) | |
at processImmediate (internal/timers.js:439:21) | |
From previous event: | |
at _installAppDeps (C:\Users\steph\MoviePrint_v004\node_modules\electron-builder\out\cli\install-app-deps.js:176:26) | |
at installAppDeps (C:\Users\steph\MoviePrint_v004\node_modules\electron-builder\out\cli\install-app-deps.js:144:26) | |
at C:\Users\steph\MoviePrint_v004\node_modules\electron-builder\src\cli\cli.ts:46:19 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment