evilsoft / crocks

A collection of well known Algebraic Data Types for your utter enjoyment.
https://crocks.dev
ISC License
1.59k stars 102 forks source link

`yarn run setup` problem with `node-sass` dependency #455

Closed sunwukonga closed 4 years ago

sunwukonga commented 4 years ago

Describe the bug yarn run setup fails because https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-72_binding.node doesn't exist (under assets) and the subsequent build to replace it fails.

To Reproduce Steps to reproduce the behavior:

  1. Use 64bit Linux
  2. nvm use 12
  3. yarn run setup

Fails on install(docs) because docs has the following dependencies on node-sass:

./docs/node_modules/metal-toggler/package.json:    "node-sass": "^4.5.3",
./docs/node_modules/gulp-sass/package.json:    "node-sass": "^4.8.3",
./docs/node_modules/bootstrap-sass/package.json:    "node-sass": "^3.8.0"

Which resolve to the install of node-sass@4.9.4 a version that does NOT have a node v12 binary download, i.e. the 72 in linux-x64-72

To Fix nvm use 10 This changes the node-sass download to https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-64_binding.node which does exist.