mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-04 05:34:51 +00:00
Mac Build doesn't run with cannot find module error. #470
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 @ajayplutus on GitHub (Mar 18, 2020).
Originally assigned to: @robertmuehsig on GitHub.
Hello,
I've created demo desktop application with asp.net core 2.2 on mac machine. I've created a build for mac os. I've got the issues on run the build :
Uncaught Exception:
Error: Cannot find module '/Applications/electron.net.host.app/Contents/Resources/bin/electron.manifest.json'
Require stack:
at Function../lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7552:16)
at Module._load (internal/modules/cjs/loader.js:622:27)
at Module._load (electron/js2c/asar.js:717:26)
at Function.Module._load (electron/js2c/asar.js:717:26)
at Module.require (internal/modules/cjs/loader.js:775:19)
at require (internal/modules/cjs/helpers.js:68:18)
at Object. (/Applications/electron.net.host.app/Contents/Resources/app.asar/main.js:20:26)
at Module._compile (internal/modules/cjs/loader.js:880:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:892:10)
@GregorBiswanger commented on GitHub (Mar 18, 2020):
did you execute the
electronize initcommand in your project?@ajayplutus commented on GitHub (Mar 18, 2020):
Hi Gregor,
Thanks for reply.
I have already done this then I have created a build. After your reply I have type it again as shown below:
@GregorBiswanger commented on GitHub (Mar 18, 2020):
@robertmuehsig can you please test it with your mac.
@ajayplutus commented on GitHub (Mar 19, 2020):
Hi @GregorBiswanger, I think @robertmuehsig has not responded since August 2019, can you please check with him and reply as soon as possible.
Thanks In advance.
@GregorBiswanger commented on GitHub (Mar 19, 2020):
unfortunately I don't have a mac to test it.. Robert is currently very busy with his family.. but please try to get help from the community, if no one answers there, please let me know again..
https://gitter.im/ElectronNET/community
if you have solved your problem please let me know and close the issue
@ajayplutus commented on GitHub (Mar 19, 2020):
Hi @GregorBiswanger ,
Thanks for reply :)
I've created new web application and created build successfully.