This morning I updated the npm and node versions used in our trunk/develop builds. This means that when you pull in this change you are very likely going to see an error like this from node_sass when building:
ERROR in ./src/theme/index.scss (./node_modules/css-loader/dist/cjs.js??ref--5-1!./node_modules/sass-loader/lib/loader.js??ref--5-2!./src/theme/index.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
Error: Missing binding /Users/dev/Development/labkey/trunk/labkey-ui-components/packages/components/node_modules/node-sass/vendor/darwin-x64-72/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 12.x
Found bindings for the following environments:
- OS X 64-bit with Node.js 10.x
To remedy this, you can run ./gradlew cleanNodeModules
(or, to be really thorough, ./gradlew -PmoduleSet=all cleanNodeModules
) and then run your build command.