Skip to content

missing dotnet-sdk8 (or even only runtime) - plugin silently fails after starting up #44

Description

@jkone27

would be better to warn user if dotnet-sdk 8 is not installed, as for now if missing and no runtime is found, Fable.Daemon silently fails to compile and plugin hangs

bun run dev                                            
$ VITE_DEBUG=true vite
11:44:14 PM [vite] [fable]: configResolved: Configuration: Debug
11:44:14 PM [vite] [fable]: configResolved: Entry fsproj ./src/MyVueApp.fsproj
11:44:14 PM [vite] [fable]: buildStart: Starting daemon
11:44:14 PM [vite] [fable]: buildStart: Initial project file change!
11:44:15 PM [vite] [fable]: projectChanged: dependent file ./src/MyVueApp.fsproj changed.
11:44:15 PM [vite] [fable]: compileProject: Full compile started of ./src/MyVueApp.fsproj
11:44:15 PM [vite] [fable]: compileProject: fable-library located at /Users/mac/Repositories/feliz-vue/sample/my-vue-app/node_modules/@fable-org/fable-library-js
11:44:15 PM [vite] [fable]: compileProject: about to type-checked ./src/MyVueApp.fsproj.
➜ ➜ ➜ ➜ ➜ ⚠️ hangs indefinitely (no msg)

here what I changed to make it work (had a new Mac installation)

➜  my-vue-app git:(main) ✗ dotnet --list-sdks    
8.0.410 [/usr/local/share/dotnet/sdk] <<<<<<
9.0.300 [/usr/local/share/dotnet/sdk]
➜  my-vue-app git:(main) ✗ dotnet --list-runtimes
Microsoft.AspNetCore.App 8.0.16 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App] <<<<<<<
Microsoft.AspNetCore.App 9.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.16 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App] <<<<<<< 
Microsoft.NETCore.App 9.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

for Mac users:
brew tap isen-ng/dotnet-sdk-versions
brew install --cask dotnet-sdk8

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions