Node.js 运行electron windows应用商店时获取未处理的承诺拒绝错误

Node.js 运行electron windows应用商店时获取未处理的承诺拒绝错误,node.js,electron,appx,Node.js,Electron,Appx,我正在尝试使用electron windows应用商店将我的electron应用程序转换为appX,但一直出现此错误。我的Windows10SDK版本是Windows10SDK,版本1903 PS C:\WINDOWS\system32> electron-windows-store --input-directory C:\Projects\Javascript\simplephotoviewer\dist\simplephotoviewer-win32-x64 --output-dir

我正在尝试使用electron windows应用商店将我的electron应用程序转换为appX,但一直出现此错误。我的Windows10SDK版本是Windows10SDK,版本1903

PS C:\WINDOWS\system32> electron-windows-store --input-directory C:\Projects\Javascript\simplephotoviewer\dist\simplephotoviewer-win32-x64 --output-directory c:\projects\javascript\simplephotoviewer\dist\AppX --package-version 1.1.0.0 --package-name simplephotoviewer
You need at least Node 4.x to run this script
? Did you download and install the Desktop App Converter? It is not required to run this tool. No
? You need to install a development certificate in order to run your app. Would you like us to create one? No
Welcome to the Electron-Windows-Store tool!
此工具将帮助您将电子应用程序转换为 时髦的Windows应用商店应用程序

我们需要知道一些设置。我们只会问你一次,然后储存 您的答案在.electron windows应用商店的配置文件文件夹中 文件

非常感谢您的帮助

? Please enter your publisher identity: CN=IggyMakesThings
? Please enter the location of your Windows Kit's bin folder:

Setup complete, moving on to package your app!

Configuration:
Desktop Converter Location: undefined
Expanded Base Image: undefined
Publisher: CN=IggyMakesThings
Dev Certificate: undefined
Windows Kit Location:

(node:15548) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'match' of undefined
at inquirer.prompt.then.then (C:\Users\igweo\AppData\Roaming\npm\node_modules\electron-windows-store\lib\params.js:86:29)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:15548) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:15548) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
PS C:\WINDOWS\system32>