电子重建-w bcrypt在Windows中失败
电子重建-w bcrypt
PS E:\ freelance \ PrinterApp>电子重建-w bcrypt ×重建失败
电子重建内部发生未处理的错误
gyp信息,如果以ok结尾,则可以正常工作
使用node-gyp@3.8.0的gyp信息
使用node@8.12.0的gyp信息| win32 | x64
gyp信息生成C:\ Users \ muham.windows-build-tools \ python27 \ python.exe
gyp info spawn args ['C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ gyp \ gyp_main.py',
gyp info生成args'binding.gyp',
gyp信息生成参数'-f',
gyp info产生args'msvs',
gyp信息生成参数'-G',
gyp info spawn args'msvs_version = auto',
gyp信息生成参数'-I',
gyp info spawn args'E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ build \ config.gypi',
gyp信息生成参数'-I',
gyp info spawn args'C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ addon.gypi',
gyp信息生成参数'-I',
gyp info spawn args'C:\ Users \ muham \ .electron-gyp \ 4.1.1 \ include \ node \ common.gypi',
gyp info spawn args'-Dlibrary = shared_library',
gyp信息生成参数'-Dvisibility = default',
gyp info spawn args'-Dnode_root_dir = C:\ Users \ muham \ .electron-gyp \ 4.1.1',
gyp info spawn args'-Dnode_gyp_dir = C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp',
gyp info spawn args'-Dnode_lib_file = C:\ Users \ muham \ .electron-gyp \ 4.1.1 \ <(target_arch)\ node.lib',
gyp info spawn args'-Dmodule_root_dir = E:\ freelance \ PrinterApp \ node_modules \ bcrypt',
gyp信息生成参数'-Dnode_engine = v8',
gyp info spawn args'--depth =。',
gyp info spawn args'--no-parallel',
gyp info spawn args'--generator-output',
gyp info spawn args'E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ build',
gyp info spawn args'-Goutput_dir ='。 ]
gyp信息生成C:\ Program Files(x86)\ MSBuild \ 14.0 \ bin \ msbuild.exe
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']
一次构建一个此解决方案中的项目。要启用并行构建,请添加“ / m”开关。
C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Platforms \ x64 \ PlatformToolsets \ v140 \ Toolset.targets(36,5):错误MSB8036:找不到Windows SDK版本8.1。安装所需版本的Windows SDK或在项目属性页中更改SDK版本,或者通过右键单击解决方案并选择“重新定位解决方案”。 [E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ build \ bcrypt_lib.vcxproj]
糟糕!建立错误
糟糕!堆栈错误:C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
失败,退出代码:1
糟糕!堆栈在ChildProcess.onExit(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ lib \ build.js:262:23)
糟糕!堆叠在generateTwo(events.js:126:13)
糟糕!堆栈在ChildProcess.emit(events.js:214:7)
糟糕!堆栈位于Process.ChildProcess._handle.onexit(内部/child_process.js:198:12)
糟糕!系统Windows_NT 10.0.17134
糟糕!命令“ C:\ Program Files \ nodejs \ node.exe”“ C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ bin \ node-gyp.js”“重建“” --target = 4.1.1“” --arch = x64“” --dist-url = https://atom.io/download/electron“”“-从源构建”“ --module_name = bcrypt_lib”“ --module_path = E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ lib \ binding“” --package_name = bcrypt_lib-v3.0.5-electron-v4.1-win32-x64-unknown.tar.gz“” --host = {{ 3}}“” --remote_path = v3.0.5“
糟糕! CWD E:\ freelance \ PrinterApp \ node_modules \ bcrypt
糟糕!节点-v v8.12.0
糟糕!节点gyp -v v3.8.0
糟糕!不好
失败,退出代码:1
错误:gyp信息,如果以ok结尾,则可以正常工作
使用node-gyp@3.8.0的gyp信息
使用node@8.12.0的gyp信息| win32 | x64
gyp信息生成C:\ Users \ muham.windows-build-tools \ python27 \ python.exe
gyp info spawn args ['C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ gyp \ gyp_main.py',
gyp info生成args'binding.gyp',
gyp信息生成参数'-f',
gyp info产生args'msvs',
gyp信息生成参数'-G',
gyp info spawn args'msvs_version = auto',
gyp信息生成参数'-I',
gyp info spawn args'E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ build \ config.gypi',
gyp信息生成参数'-I',
gyp info spawn args'C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ addon.gypi',
gyp信息生成参数'-I',
gyp info spawn args'C:\ Users \ muham \ .electron-gyp \ 4.1.1 \ include \ node \ common.gypi',
gyp info spawn args'-Dlibrary = shared_library',
gyp信息生成参数'-Dvisibility = default',
gyp info spawn args'-Dnode_root_dir = C:\ Users \ muham \ .electron-gyp \ 4.1.1',
gyp info spawn args'-Dnode_gyp_dir = C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp',
gyp info spawn args'-Dnode_lib_file = C:\ Users \ muham \ .electron-gyp \ 4.1.1 \ <(target_arch)\ node.lib',
gyp info spawn args'-Dmodule_root_dir = E:\ freelance \ PrinterApp \ node_modules \ bcrypt',
gyp信息生成参数'-Dnode_engine = v8',
gyp info spawn args'--depth =。',
gyp info spawn args'--no-parallel',
gyp info spawn args'--generator-output',
gyp info spawn args'E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ build',
gyp info spawn args'-Goutput_dir ='。 ]
gyp信息生成C:\ Program Files(x86)\ MSBuild \ 14.0 \ bin \ msbuild.exe
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']
一次构建一个此解决方案中的项目。要启用并行构建,请添加“ / m”开关。
C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Platforms \ x64 \ PlatformToolsets \ v140 \ Toolset.targets(36,5):错误MSB8036:找不到Windows SDK版本8.1。安装所需版本的Windows SDK或在项目属性页中更改SDK版本,或者通过右键单击解决方案并选择“重新定位解决方案”。 [E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ build \ bcrypt_lib.vcxproj]
糟糕!建立错误
糟糕!堆栈错误:C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
失败,退出代码:1
糟糕!堆栈在ChildProcess.onExit(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ lib \ build.js:262:23)
糟糕!堆叠在generateTwo(events.js:126:13)
糟糕!堆栈在ChildProcess.emit(events.js:214:7)
糟糕!堆栈位于Process.ChildProcess._handle.onexit(内部/child_process.js:198:12)
糟糕!系统Windows_NT 10.0.17134
糟糕!命令“ C:\ Program Files \ nodejs \ node.exe”“ C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ node-gyp \ bin \ node-gyp.js”“重建“” --target = 4.1.1“” --arch = x64“” --dist-url = https://github.com/kelektiv/node.bcrypt.js/releases/download/“”“-从源构建”“ --module_name = bcrypt_lib”“ --module_path = E:\ freelance \ PrinterApp \ node_modules \ bcrypt \ lib \ binding“” --package_name = bcrypt_lib-v3.0.5-electron-v4.1-win32-x64-unknown.tar.gz“” --host = {{ 3}}“” --remote_path = v3.0.5“
糟糕! CWD E:\ freelance \ PrinterApp \ node_modules \ bcrypt
糟糕!节点-v v8.12.0
糟糕!节点gyp -v v3.8.0
糟糕!不好
失败,退出代码:1 在SafeSubscriber._error(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ spawn-rx \ lib \ src \ index.js:267:84) 在SafeSubscriber .__ tryOrUnsub(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \ Subscriber.js:207:16) 在SafeSubscriber.error(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \ Subscriber.js:158:26) 在Subscriber._error(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \ Subscriber.js:92:26) 在Subscriber.error(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \ Subscriber.js:72:18) 在MapSubscriber.Subscriber._error(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \ Subscriber.js:92:26) 在MapSubscriber.Subscriber.error(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \ Subscriber.js:72:18) 在SafeSubscriber._next(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ spawn-rx \ lib \ src \ index.js:242:65) 在SafeSubscriber .__ tryOrUnsub(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \ Subscriber.js:207:16) 在SafeSubscriber.next(C:\ Users \ muham \ AppData \ Roaming \ npm \ node_modules \ electron-rebuild \ node_modules \ rxjs \ internal \