Linux Build doesn't run with cannot find module error #92

Closed
opened 2026-01-29 16:30:32 +00:00 by claunia · 4 comments
Owner

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.

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.
claunia added the bug label 2026-01-29 16:30:32 +00:00
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@westerncj commented on GitHub (Dec 21, 2017):

I'm having the same issue on Mac. Are there any workarounds?

@westerncj commented on GitHub (Dec 21, 2017): I'm having the same issue on Mac. Are there any workarounds?
Author
Owner

@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.

@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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#92