elmish / templates

Other
42 stars 21 forks source link

Support of the latest Node and Webpack version #131

Closed bastian-nolte closed 2 years ago

bastian-nolte commented 2 years ago

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?

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.

Remark: I will submit a pull request shortly.

bastian-nolte commented 2 years ago

I think the pull request still needs some adjustment work regarding Saas and Fortawesome. I will deal with it in the next few days.

MangelMaxime commented 2 years ago

Thank you, I just released a new version of both packages