question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown error, events.js:160

See original GitHub issue

Ran electron-windows-store inside my build folder. Stepped through the questions:

  • appconverter: n
  • certificate: n
  • publisher id: …
  • windows kit location: …
  • path to built app: ./path/to/my/packaged/app
  • output path: default
  • flattening: y
  • package name: the name of the exe
  • version: 0.9.13.0

It then starts flattening etc., starting conversion, cleaning output folder, copying data, and after printing Creating manifest.. this is what happens:

events.js:160
    throw er; // Unhandled 'error' event
    ^

Error: spawn ...x86\makeappx.exe ENOENT
    ...

Can’t tell what went wrong. Any way to debug this?

Win 10 Pro @32bit, Version 1511 (Build 10586.589) node v6.2.1 Windows SDK 10.1.10586.212 electron-windows-store: latest

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:5
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
clusterberriescommented, Aug 4, 2017

For me this path looks like C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64

0reactions
nfplaycommented, May 22, 2020

@rptwsthi and @MysticCraftYT , at this time you’ve probably already guessed that you’re missing the path to your pfx developer certificate using the option ‘–dev-cert’ 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown error, events.js:160 · Issue #42 - GitHub
Ran electron-windows-store inside my build folder. Stepped through the questions: appconverter: n certificate: n publisher id: ... windows ...
Read more >
Developers - Unknown error, events.js:160 - - Bountysource
Ran electron-windows-store inside my build folder. Stepped through the questions: appconverter: n; certificate: n; publisher id: ... windows kit location: ...
Read more >
Laravel-mix - BrowserSync throwing an error at event.js:160
I use laravel-mix with 4.0.7 version. I just remove node_modules , then npm install and all is ok. I saw so many variants...
Read more >
The requested feature is not enabled in this environment
We are getting: Identity Provider: Unknown Error Code: server_error Description: ... at Request.emit (events.js:160:13) at IncomingMessage.
Read more >
[Angular2] concurrent tsc and liteserver not working (in ...
[1] events.js:160. [1] throw er; // Unhandled 'error' event. [1] ^. [1]. [1] Error: Error watching file for changes: UNKNOWN.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found