Under window, electron-builder executes electron-builder-- win-- x64 command to report an error.

building target=nsis file=packersZhaizhishe-setup-0.0.1.exe archs=x64, Ia32 oneClick=true
Error: C:UsersAdministratorAppDataLocalelectron-buildercachensisnsis-3.0.3.0Binmakensis.exe exited with code 1
Output:
Command line defined: "APP_ID=org.lzj.demo1"
Command line defined: "APP_GUID=bd0576c0-c762-56de-9d81-9c215af5daac"
Command line defined: "PRODUCT_NAME=Zhaizhishe"
Command line defined: "PRODUCT_FILENAME=Zhaizhishe"
Command line defined: "APP_FILENAME=Zhaizhishe"
Command line defined: "APP_DESCRIPTION= warm fen"
Command line defined: "VERSION=0.0.1"
Command line defined: "
Command line defined: "BUILD_RESOURCES_DIR=F:workspace please thank you" trunkcodefront_endpcmerch-endelectron-appbuild "
Command line defined:" APP_32=F:workspace please collect money "trunkcodefront_endpcmerch-endelectron-apppackersapplication-name-0.0.1-ia32.nsis.7z"
Command line defined: "APP_32_NAME=application-name-0.0.1-ia32.nsis.7z"
Command line defined: "APP_32_HASH=DE5EBADF1D45684C6E356B6CB89B7AD316D38F9F0BC0D832D8BE6EB1548F6E05C3210FC141EDCC720C6E9DF5899497DAD622233187F3787DF523AF35FD6B975B"
Command line defined: "APP_64=F
Command line defined: "APP_64_NAME=application-name-0.0.1-x64.nsis.7z"
Command line defined: "APP_64_HASH=0DC7A70B7392CABFEFAB78AFFA0BC7C0768B7E42F0B261AECB838893968F01DD7F173D4B866F65EB41D4B1094745FA089BF1F09D33A154370F881F55C573C9BE"
Command line defined: "COMPANY_NAME=lzj"
Command line defined: "APP_INSTALLER_STORE_FILE=Zhaizhisheinstaller.exe"
Command line defined: "COMPRESSION_METHOD=7z"
Command line defined: "ONE_CLICK"
Command line defined: "RUN_AFTER_ FINISH "
Command line defined:" INSTALL_MODE_PER_ALL_USERS "
Command line defined:" INSTALL_MODE_PER_ALL_USERS_REQUIRED "
Command line defined:" SHORTCUT_NAME=Zhaizhishe "
Command line defined:" UNINSTALL_DISPLAY_NAME=Zhaizhishe 0.0.1 "
Command line defined:" COMPRESS=auto "
Command line defined:" BUILD_UNINSTALLER "
Command line defined: : UsersAdministratorAppDataLocalelectron-buildercachensisnsis-3.0.3.0nsisconf.nsh
Processing script file: "< stdin >" (ACP)

Error output:
! include: could not find: "F:workspace bottled Water Project trunkcodefront_endpcmerch-endelectron-appnode_moduleselectron-builder-libtemplatesnsisincludeStdUtils.nsh"
Error in script "< stdin >" on line 1-- aborting creation process

at ChildProcess.childProcess.once.code (F:\workspace\\trunk\code\front_end\pc\merch-end\electron-app\node_modules\builder-util\src\util.ts:251:14)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

May.22,2021

electron project path cannot be in Chinese. Try again. Have I solved


? How to solve

Menu