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.

Porting Electron-Forge from mac to window produces errors using Make

See original GitHub issue

I keep getting these errors when trying to make appx. This is the app I was originally working on on mac and everything worked. So I tried to port it over to windows made sure electron and electron-forge was all installed globally and begin configuring and running and this is what I keep getting. Not sure if its my config or what.

- Making for target: appx - On platform: win32 - For arch: x64
An unhandled exception has occurred inside Forge:
ENOENT: no such file or directory, stat 'C:\Elec\App\out\make\appx\x64\logs\conversion.log'
Error: ENOENT: no such file or directory, stat 'C:\Elec\App\out\make\appx\x64\logs\conversion.log'
    at Error (native)
    at Object.fs.statSync (fs.js:987:18)
    at Tail.watch (C:\Users\prof\AppData\Roaming\npm\node_modules\electron-forge\node_modules\electron-windows-store\lib\vendor\tail.js:88:20)
    at new Tail (C:\Users\prof\AppData\Roaming\npm\node_modules\electron-forge\node_modules\electron-windows-store\lib\vendor\tail.js:79:14)
    at Timeout.setTimeout (C:\Users\prof\AppData\Roaming\npm\node_modules\electron-forge\node_modules\electron-windows-store\lib\convert.js:63:16)
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5)

Windows store config:

  "windowsStoreConfig": {
        "containerVirtualization": true,
        "platform":"appx",
        "packageName": "App",
        "publisher": "CN=Myappid",
        "windowsKit": "C:\\Program Files (x86)\\Windows Kits\\10\\bin\\x64",
        "desktopConverter": "./DesktopAppConverter",
        "expandedBaseImage": "./DesktopAppConverter/BaseImage-14352",
        "flatten": true,
        "icon":"src/assets/icons/win/icon.ico",
        "packageVersion": "1.1.0.0",
        "packageDisplayName": "App",
        "packageDescription": "My App",
        "packageExecutable": "app/App.exe"
      }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:28 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
MarshallOfSoundcommented, Jan 14, 2017

@AhadCove You run it… In command prompt?

0reactions
ahadcovecommented, Jan 14, 2017

It finally worked. Thank you so much! Sorry for asking so many questions. Now lets hope the windows store accepts it lol. It ended up being my author name had my email surrounded in <> is the reason why it was not working. Thanks again everyone!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Porting Electron-Forge from mac to window produces errors ...
I keep getting these errors when trying to make appx. This is the app I was originally working on on mac and everything...
Read more >
A Comprehensive Guide to Building and Packaging an ...
Prerequisites for Packaging Windows Apps on Mac; electron-forge; electron-packager; electron-builder; Which Packaging Tool to Use ...
Read more >
npm run make is not working in electron-forge - Stack Overflow
In my cases, it makes error when the description or author is empty in package.json file.
Read more >
Configuration - Electron Forge
Electron Forge configuration is centralized in a single configuration object. You can specify this config in your package.json on the config.forge property.
Read more >
Build a Desktop App with Electron... But Should You? - YouTube
In about 10 minutes, we build a desktop screen recorder from scratch with JavaScript that is installable on Mac, Windows, or Linux.
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