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

WIP: Fixing fable-compiler-js when run from NPM #3795

Merged
merged 3 commits into from
May 23, 2024

Conversation

MangelMaxime
Copy link
Member

#3794 #3793

How to run:

  1. ./build.sh compiler-js
  2. cd src/fable-compiler-js
  3. npm link @fable-org/fable-metadata ../fable-metadata
  4. node index.js

node index.js --version works but node index.js test.fsx fails ATM

To avoid the problem with having it working locally but not when packaged, we should probably remove the compiler directives and make use of npm link so it behave the same locally as if published.

@MangelMaxime MangelMaxime merged commit fade279 into main May 23, 2024
19 checks passed
@MangelMaxime MangelMaxime deleted the fix/fable-compiler-js branch May 23, 2024 15:20
@ncave
Copy link
Collaborator

ncave commented May 23, 2024

Thanks @MangelMaxime!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants