The template should work with the latest stable version of Node.js (currently v18.7.0) and use a recent Webpack version.
Problem description:
"yarn install" aborts with an error.
System:
macOS Monterey, version 12.5
node v18.7.0
node-gyp v3.8.0
npm 8.15.0
How to recreate the problem?
dotnet new -i Fable.Template.Elmish.React.Demo
dotnet new fable-elmish-react-demo -n awesomeDemo -lang f#
cd awesomeDemo
yarn install
Error Message
error …/node_modules/node-sass: Command failed.
Analysis:
Updating the NPM and NuGet dependencies in the two template packages and migrating the Webpack configurations to the latest version 5 should satisfy the requirement and fix the issue.
The template should work with the latest stable version of Node.js (currently v18.7.0) and use a recent Webpack version.
Problem description:
"yarn install" aborts with an error.
System:
How to recreate the problem?
Error Message
error …/node_modules/node-sass: Command failed.
Analysis:
Updating the NPM and NuGet dependencies in the two template packages and migrating the Webpack configurations to the latest version 5 should satisfy the requirement and fix the issue.
Remark: I will submit a pull request shortly.