Closed mturilin closed 1 year ago
can you try specifying the --arch
parameter on the tool install command, like so: dotnet tool install fornax -g --arch arm64
?
It worked!
This is one of a series of fixes to .NET SDK tools that we hope to address in the .NET 8 time frame. In the meantime, happy this worked for you :)
build fails thought
mikhail@MacBook-Air blog3 % fornax build
Load Errors: [|/Users/mikhail/Development/personal/blog3/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;
/Users/mikhail/Development/personal/blog3/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:27:13] multiple files generation failed
it's a completely new site generated by fornax new
- could it be related to the architecture?
I'm trying to install Fornax on macOS on Apple Silicon. As a prerequisite, I installed .NET SDK 6 and 7 using homebrew.
So far I tried the following:
Method 1:
dotnet tool install fornax -g
The install was successful. However the tool doesn't run:
Method 2: Install from source
dotnet tool install
- worksdotnet fake build
- complained to dotnet 7 instead of 6dotnet fake build
version 6.2.1
dotnet fake build
At this point 🤷♂️
Any ideas where to go from here?