You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyone get ember-electron to successfully package an app while using an unofficial version of electron-prebuilt-compile (e.g. to use v4.1.4)? I am using a tarball URL, and it almost works. I can run ember electron fine, but when I try to package (ember electron:make ...) I run into problems.
Part of it is because electron-packager (v11 used by electron-forge v5.2.4 used by current ember-electron) expects electron-prebuilt-compile to be specified as a version string (see electron/packager#975). However, even when I fork electron-forge and electron-packager to correct for this, I now get an unexpected Failed to locate module error for things that should just be devDependencies, e.g.:
cleaning up...
Built and assembled Electron project successfully. Stored in "/path/to/app/tmp/package_task-tmp_path-n3SsStVQ.tmp".
Packaging Electron project.
Failed to locate module "@types/ember" from "/path/to/app/tmp/package_task-tmp_path-n3SsStVQ.tmp"
This normally means that either you have deleted this package already somehow (check your ignore settings if using electron-packager). Or your module installation failed.
Stack Trace and Error Report: ...
The text was updated successfully, but these errors were encountered:
jacobq
changed the title
How to build with custom electron-prebuilt-compile
Question: How to build with custom electron-prebuilt-compileApr 15, 2019
I can "work around" this by setting electronPackagerConfig: { prune: false, ... } in electron-forge-config.js, but I've never had to do that before and don't understand why I would now. What part of the code is trying to lookup a module like @types/... / how can I tell / why is it doing that?
Anyone get
ember-electron
to successfully package an app while using an unofficial version ofelectron-prebuilt-compile
(e.g. to use v4.1.4)? I am using a tarball URL, and it almost works. I can runember electron
fine, but when I try to package (ember electron:make ...
) I run into problems.Part of it is because
electron-packager
(v11 used byelectron-forge
v5.2.4 used by currentember-electron
) expectselectron-prebuilt-compile
to be specified as a version string (see electron/packager#975). However, even when I forkelectron-forge
andelectron-packager
to correct for this, I now get an unexpectedFailed to locate module
error for things that should just be devDependencies, e.g.:The text was updated successfully, but these errors were encountered: