mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Linux Build doesn't run with cannot find module error #92
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @uclaitsscott on GitHub (Dec 9, 2017).
Originally assigned to: @robertmuehsig on GitHub.
Uncaught Exception: Error: Cannot find module './bin/electron.manifest.json'
Occurs after I copied linux build folder to Ubuntu and tried to run it. The error originates in the main.js when it cannot find this file (doesn't exist in linux build, nor does a bin folder). I didn't see any additional steps I'm supposed to take in the readme, but I suspect there must be something I missed.
@yoDon commented on GitHub (Dec 9, 2017):
I've seen this error on Windows when the C# part of the build process reported errors but they were buried far enough up in the build process that they weren't visible in the terminal, so the building/packaging appeared at first glance to have succeeded. Fixing the C# errors resolved the issue in those cases.
@uclaitsscott commented on GitHub (Dec 10, 2017):
I was using the command line to "dotnet electronize build linux" and didn't see any errors. The windows build worked fine.
@westerncj commented on GitHub (Dec 21, 2017):
I'm having the same issue on Mac. Are there any workarounds?
@arun-chief commented on GitHub (Jan 30, 2020):
There was a manifest error when used visual studio package manager console. but when run with visual studio code it worked.