Skip to content
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

Reacto 0.2.12 - Fatal #79

Open
FDiskas opened this issue Apr 30, 2018 · 8 comments
Open

Reacto 0.2.12 - Fatal #79

FDiskas opened this issue Apr 30, 2018 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@FDiskas
Copy link

FDiskas commented Apr 30, 2018

Intel® Core™ i5-4210M CPU @ 2.60GHz × 4
Zorin OS 12.3 64-bit (Ubuntu based)
https://github.com/eveningkid/reacto/releases/download/v0.2.12/Reacto_0.2.12_amd64.deb
After instalation

Uncaught Error: /opt/Reacto/resources/app.asar.unpacked/node_modules/nodegit/build/Release/nodegit.node: invalid ELF header
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/opt/Reacto/resources/app.asar/node_modules/nodegit/dist/nodegit.js:12:12)
    at Object.<anonymous> (/opt/Reacto/resources/app.asar/node_modules/nodegit/dist/nodegit.js:1145:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (module.js:498:17)

error

@eveningkid eveningkid self-assigned this May 2, 2018
@eveningkid
Copy link
Owner

Hey @FDiskas! Feels like using node-git raised some issues for some users (#78).
I don't really have time to investigate this more at the moment, sorry. I remember that Atom is using the same library and ran into similar issues when they added it.
If you have time and will, you can also give it a look. Otherwise, this will come sooner or later!

@eveningkid eveningkid added the bug Something isn't working label May 2, 2018
@ph98
Copy link

ph98 commented May 8, 2018

same here ubuntu 18.04(64bit)

@FDiskas
Copy link
Author

FDiskas commented May 14, 2018

is it true that sudo apt-get install clang build-essential libssl-dev libcurl4-openssl-dev before release could fix that? #78 (comment)

@eveningkid
Copy link
Owner

Thank you very much for your input @FDiskas. I'm sorry, I have no ubuntu running on my computer right now.

If you want to help with the issue, it's actually pretty quick to test.
After cloning the github repo and installing everything, you can run the command you mentioned and only then try to generate a release using the yarn run release command.
Then, you just need to run the generated executable and see if it works.

Let me know if you manage to get it working!

@FDiskas
Copy link
Author

FDiskas commented May 15, 2018

@eveningkid Confirmed: After installed

sudo apt-get install clang build-essential libssl-dev libcurl4-openssl-dev

and yarn run release
I got error
I generated new token

and

export GH_TOKEN=****

I got working build. Probably this command should be added in to release pipeline for debian.

Here is the builded version

@FDiskas
Copy link
Author

FDiskas commented May 15, 2018

works well thanks for help 🚈

@eveningkid
Copy link
Owner

Do you have any idea how to add this to the release pipeline?
I don't really know where to put it inside the travis configuration.

@FDiskas
Copy link
Author

FDiskas commented May 16, 2018

I would try here

/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn release --linux --win"

to ad extra command :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants