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

4.22.0 release fails to build project with Fulma dependency #3925

Open
skir opened this issue Oct 12, 2024 · 1 comment
Open

4.22.0 release fails to build project with Fulma dependency #3925

skir opened this issue Oct 12, 2024 · 1 comment

Comments

@skir
Copy link

skir commented Oct 12, 2024

Description

Hello, I have a project that uses Fable and depends on Fulma for UI rendering.
After I upgraded my Fable version to 4.22.0, my builds started to fail with this error:

.\src\fable_modules\Fulma.3.0.0\Elements\Button.fs(1,1): (1,1) error FSHARP: The module/namespace 'System' from compilation unit 'netstandard' did not contain the namespace, module or type 'ReadOnlySpan`1' (code 193)
.\src\fable_modules\Fulma.3.0.0\Elements\Tag.fs(1,1): (1,1) error FSHARP: The module/namespace 'System' from compilation unit 'netstandard' did not contain the namespace, module or type 'ReadOnlySpan`1' (code 193)

Previously I used 4.19.3 release with no issues. I also tried to build with 4.20.0 and 4.21.0 and got no errors.

Related information

  • Fable version: 4.22.0
  • Operating system: Windows 10, 22H2
@ncave
Copy link
Collaborator

ncave commented Oct 14, 2024

@skir Yes, that seems to be the case when targeting netstandard2.0, not sure why.
As a workaround, you can try targeting net8.0 (or some other TFM), seems to help.

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

No branches or pull requests

2 participants