CompositionalIT / SAFE-Dojo

An introductory dojo to learn how to develop full stack web applications in F#
379 stars 128 forks source link

Errors while running SAFE-Dojo-master and SAFE-Dojo-suggested-solution #145

Closed MiroslavHustak closed 1 year ago

MiroslavHustak commented 1 year ago

Using dotnet run in the SAFE-Dojo-master folder as well as in the SAFE-Dojo-suggested-solution folder ended with errors. Please see the attached file with a complete list of error messages.

errormsg.txt

allenu commented 1 year ago

I was just trying out this project and encountered this as well. I'm running on a Mac, if it makes a difference.

IMPF-sfarley commented 1 year ago

A temporary fix is to set the node_options environment variable.

For example, in powershell

$env:NODE_OPTIONS="--openssl-legacy-provider"

The better fix would be to update npm package versions, since the older node SSL provider has security issues.

MiroslavHustak commented 1 year ago

The fix had no effect. Currently using {"npm":"8.19.2","node":"v18.12.0"}.

johanvts commented 1 year ago

If you are still struggling, I finally have a version that works (on my machine) here: https://github.com/CompositionalIT/SAFE-Dojo/pull/157 Good luck.