Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix version retrieval in node process #837

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Conversation

silvanocerza
Copy link
Contributor

@silvanocerza silvanocerza commented Feb 15, 2022

Wrong import in code run in node process was causing the IDE not to start.

This happened because the node process doesn't have access to the defines found in the electron process, thus we had to find a different way of getting the version information.

Fixes #836.

@silvanocerza silvanocerza added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels Feb 15, 2022
@silvanocerza silvanocerza self-assigned this Feb 15, 2022
@per1234 per1234 linked an issue Feb 15, 2022 that may be closed by this pull request
@silvanocerza silvanocerza changed the title Fix bad import Fix version retrieval in node process Feb 15, 2022
@fstasi fstasi self-requested a review February 15, 2022 15:51
@silvanocerza silvanocerza merged commit 9ecff86 into main Feb 15, 2022
@silvanocerza silvanocerza deleted the scerza/fix-import branch February 15, 2022 15:52
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Startup fails: Cannot find module 'electron'
2 participants