-
Notifications
You must be signed in to change notification settings - Fork 307
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
Error: Method not found: 'Boolean Fable.CompilerOptions.Equals(Fable.CompilerOptions, System.Collections.IEqualityComparer)'. #4019
Comments
@nojaf Not sure, I recently added comparisons for some primitive types, but it's still unreleased, so that's probably not it. Is there a small repro of what are you trying to send to the Fable.Compiler? Can it be converted to a test for the Fable.Compiler? |
It happens when I call You can see it if you run https://github.com/nojaf/vite-plugin-fable/blob/47c8ae86fb2be5f2267ebea57ff2488bd061b896/Fable.Daemon.Tests/DebugTests.fs#L54-L85 (You need to bump https://github.com/nojaf/vite-plugin-fable/blob/47c8ae86fb2be5f2267ebea57ff2488bd061b896/Directory.Packages.props#L11 to see it) |
Weird, I'm passing |
Okay, I tried using a local version of the Fable.Compiler and I didn't have any issue with that build. So maybe, this problem will be resolved in the next alpha. (@MangelMaxime I would also need a new version of |
In theory, I always release it when we make a change to it, but perhaps I mess it up last time sorry. |
I'm not saying you messed up or anything, just that it will be required for next alpha. |
@nojaf I made a new release of Fable, you should be able to check if it fixes your issue. |
Thanks, I still have the same problem unfortunately. |
You said you didn't have the issue with a local build? Was it a Could you perhaps try a |
I did do a Release build. How do I pack, is there a build.sh thing? |
You can run
On futur run, if you don't change the Make sure to pull the latest version of Edit: Important every time, you rebuild using |
Yeah, I don't wanna install poetry nor any Rust stuff. What do I need to run to pack Fable.AST and Fable.Compiler only? |
Okay, after messing a bit with |
This comment has been minimized.
This comment has been minimized.
I am kind of out of idea here 😅 Could it be caused because this is compile from another machine/OS ? For publishing, Fable I am using the |
Welp, that leads me to
The dev container isn't doing it for me 🙃. I might just archive my project really... |
@nojaf FWIW, running
|
@ncave can you run |
@nojaf Assuming you mean
Note: Updating the fable-library dependence to |
Is there nothing more in the error? Is this the full trace? |
@nojaf No, there is nothing else. Are you running that build in your CI? |
CI says the same thing: https://github.com/nojaf/vite-plugin-fable/actions/runs/12983627524/job/36205182417 |
@nojaf Yes, I can reproduce it locally, and as you said, it starts breaking in The thing is, there is very little change between 5.0.0-alpha.3 and 5.0.0-alpha.4. It's quite baffling, there are no changes in any package references. But I can reproduce on .NET 9 too, and updating all other packages to latest doesn't make any difference either. Very strange, on the face of it sounds like some sort of TFM mixup, but I'm not sure, cause I don't think anything changed much between those releases. All I can think of is, perhaps you can switch to referencing the |
Could it be the bump from |
@nojaf I made a new release |
Solved in Fable.AST 4.6.0-beta.1 |
Hi @MangelMaxime and @ncave,
I was trying to update
Fable.Compiler
in the vite plugin to5.0.0-alpha.5
and I got:at runtime. Did anything change?
I have this for
5.0.0-alpha.4
and5.0.0-alpha.5
.The text was updated successfully, but these errors were encountered: