- Issue created by @mlncn
- πΊπΈUnited States mlncn Minneapolis, MN, USA
This is probably a duplicate: π npm install fails if not using node 12 or 14 (as per foundation requirements) Active
- πΊπΈUnited States mlncn Minneapolis, MN, USA
But in the spirit of that one, maybe we can work out all the gulp problems here? Starting with a copy of the starterkit theme generated by my patch in β¨ Support automatic subtheme generation in Drupal 10+ / Drush 12+ Needs review
- πΊπΈUnited States mlncn Minneapolis, MN, USA
gulp causes:
Error in plugin "sass" Message: node_modules/motion-ui/src/util/_unit.scss Error: Invalid CSS after " $dividend: math": expected expression (e.g. 1px, bold), was ".abs($dividend);" on line 17 of node_modules/motion-ui/src/util/_unit.scss from line 14 of node_modules/motion-ui/src/motion-ui.scss from line 47 of scss/peceful.scss >> $dividend: math.abs($dividend); -----------------^
Which per the Foundation Motion UI issue queue seems to be some sort of problem with this setup.
- πΊπΈUnited States mlncn Minneapolis, MN, USA
Got this working with the package.json and gulpfile.babel that can be found here: https://git.agaric.com/agaric/peceful
Main thing was dropping node-sass and using Dart's sass. Also using
yarn install
andyarn start
instead but that probably isn't needed.(works at least up to NodeJS 18; separate error on Node23)