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

Fix installation #37

Merged
merged 34 commits into from
Nov 26, 2023
Merged

Fix installation #37

merged 34 commits into from
Nov 26, 2023

Conversation

henriqueinonhe
Copy link
Owner

@henriqueinonhe henriqueinonhe commented Nov 24, 2023

A bunch of problems were being caused due to a combination of ESM + Windows + Node 20 + TS Node and incompatibilities between all of these things.

After a LOT of trial and error, I've found that the simplest solution would be to get rid of TS Node for the time being, as it relies on unstable Node APIs (which what makes it break when migrating from Node 18 to Node 20 in the first place) to deal with ESM.

So now, to run anything I'm compiling it first using the Typescript compiler itself.

Although this is a little bit annoying, at least it works on all platforms.

Fixes #34 and #35.

@henriqueinonhe henriqueinonhe force-pushed the fix-installation branch 3 times, most recently from 3fd1a7b to 697f05d Compare November 26, 2023 15:22
@henriqueinonhe henriqueinonhe force-pushed the fix-installation branch 4 times, most recently from 26c7f41 to 81ed8f9 Compare November 26, 2023 18:28
@henriqueinonhe henriqueinonhe self-assigned this Nov 26, 2023
@henriqueinonhe henriqueinonhe added the bug Something isn't working label Nov 26, 2023
@henriqueinonhe henriqueinonhe merged commit 07c8d34 into master Nov 26, 2023
5 checks passed
@henriqueinonhe henriqueinonhe deleted the fix-installation branch November 26, 2023 19:34
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
1 participant