electron-userland / electron-windows-store

:package: Turn Electron Apps into Windows AppX Packages
MIT License
674 stars 85 forks source link

I'm getting this error when I enter the path to my windows kit bin folder #124

Closed DM164 closed 4 years ago

DM164 commented 4 years ago

? Please enter the location of your Windows Kit's bin folder: "C:\Program Files (x86)\Windows Kits\8.1\bin\x64" Creating Certficate TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at assertPath (path.js:39:11) at Object.join (path.js:432:7) at inquirer.prompt.then (C:\Users\denis\AppData\Roaming\npm\node_modules\electron-windows-store\lib\setup.js:173:31) at process.internalTickCallback (internal/process/next_tick.js:77:7) TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined at assertPath (path.js:39:11) at Object.join (path.js:432:7) at inquirer.prompt.then (C:\Users\denis\AppData\Roaming\npm\node_modules\electron-windows-store\lib\setup.js:173:31) at process.internalTickCallback (internal/process/next_tick.js:77:7)

DM164 commented 4 years ago

Nevermind I solved the issue.

wallpapermatic commented 4 years ago

@DM164 How did you resolve this?

Nevermind I solved the issue.

hoangdung-qbt commented 3 years ago

@DM164 : Ciao! I just ran into this issue too. How did you resolve it? Thanks! Edit: solved!

Stanlyhalo commented 2 years ago

How are you guys solving it?

Ali-Albaker commented 11 months ago

I am getting the same issue can you please advise how you resolved this issue?

RGBNu commented 10 months ago

For those running into this error. It's not actually the step of entering the Windows Kit bin folder that is causing the error. The complaint is actually the step before. When you're asked to enter your Publisher Identity, don't just put in your company name or whatever. You need to use the format specified in the suggestiion (CN=developmentca). So for example instead of entering MyCompany, put in CN=MyCompany. At least that's how I got past this error.

arepp23 commented 4 months ago

I'm seeing the same error even when I specify the publisher identity with an = like CN=DBSDev