-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The realm native module cannot be rebuilt #470
Comments
I cannot reproduce this on Linux, using the repository and instructions above. |
@malept I am developing on
Here is the log:
run
Are you sure you can package the project into .dmg? |
In that case, it's not a matter of not being able to create DMGs (because it doesn't even get that far), but rather you can't cross-compile native node modules (i.e., you can't build a native node extension for Mac on Linux). Failing with a human-friendly error message before getting to this point is #380. Try building for the Linux target on the Linux host, that should work. |
I understand that is error when building native node module. I just try to start the project but it gets stuck at building that module. Does problem come from Here is the command I used to initialize a new project and reproduce the error. Note that I did not pass in any argument so it should target linux automatically.
The same error occurs when running
|
I don't know why there's a linker error. I would do some searches for that error and see what you come up with. |
I'm facing the same issue. I'm using electron-forge with angular 6 (@angular-cli) and windows (win32, x64)
and using the commands i got the following output
and it stays there forever.
with no luck and this is my forge config,
|
This doesn't appear to be 100% related to forge, we're just triggering a normal |
I am using Realm in an Electron application, which is built with electron-forge. The packaging process gets stuck at "Preparing to Package Application for arch: x64" if
electron-forge start
is run beforeelectron-forge package
.I am developing on
10.13.4
8.10.0
5.6.0
2.7.14
Here is the example code to reproduce the never-end problem, realm-in-electron.
The steps to successfully package the electron app:
npm install
electron-forge package --platform=darwin --arch=x64
Below is the log that the electron app is successfully packaged:
The steps to reproduce the "never-end" problem:
npm install
electron-forge start
electron-forge package --platform=darwin --arch=x64
Here is the log by runing
DEBUG=electron-packager electron-forge package --platform=darwin --arch=x64
config.forge in package.json:
The text was updated successfully, but these errors were encountered: