Fornax icon indicating copy to clipboard operation
Fornax copied to clipboard

Getting started not working

Open aerphanas opened this issue 2 years ago • 1 comments

Error when trying to run fornax watch

To Reproduce Steps to reproduce the behaviour:

  1. alpine linux clean install
  2. install instruction dotnet from official microsoft website
  3. execute command dotnet tool install fornax -g
  4. make directory Test mkdir Test
  5. change directory to Test cd Test
  6. make new fornax app with fornax new
  7. start webserver fornax watch

Expected behaviour successfully run web server

Error Message :

 Load Errors: [|/root/test/generators/layout.fsx (67,53)-(67,59) typecheck error The union cases or fields of the type 'HtmlElement' are not accessible from this code location;
  /root/test/generators/layout.fsx (67,53)-(67,89) typecheck error All elements of a list must be implicitly convertible to the type of the first element, which here is 'HtmlProperties'. This element has type 'HtmlElement'.|]
Open Errors: [|input.fsx (1,6)-(1,11) typecheck error The namespace or module 'Index' is not defined.|]
Get generator Errors: [|input.fsx (1,16)-(1,24) typecheck error The value or constructor 'generate' is not defined. Maybe you want one of the following:
   Generating
   GenerationPhase
   GeneratorConfig
   GeneratorOutput
   GeneratorTrigger|]
[11:52:01] multiple files generation failed
Generated site with errors. Waiting for changes...
[11:52:01] Watch mode started. Press any key to exit.

Screenshots Error message : Screenshot from 2022-12-18 12-05-23

dotnet --info ; Screenshot from 2022-12-18 12-10-52

Environment :

  • OS: alpine Linux 3.17.0
  • dotnet SDK version: 7.0.101

aerphanas avatar Dec 18 '22 05:12 aerphanas