On Windows 10, I had to run the following to rebuild node-sass.
docker-compose run frontend npm rebuild node-sass
Before I did that, I was getting this error:
frontend_1 | <s> [webpack.Progress] 98% after emitting CopyPlugin
frontend_1 | ERROR Failed to compile with 1 errors9:06:02 PM
frontend_1 |
frontend_1 | error in ./src/components/ExampleComponent.vue?vue&type=style&index=0&id=6982cd3a&lang=scss&scoped=true&
frontend_1 |
frontend_1 | Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
frontend_1 | Error: Missing binding /app/node_modules/node-sass/vendor/linux_musl-x64-64/binding.node
frontend_1 | Node Sass could not find a binding for your current environment: Linux/musl 64-bit with Node.js 10.x
frontend_1 |
frontend_1 | Found bindings for the following environments:
frontend_1 | - Windows 64-bit with Node.js 12.x
On Windows 10, I had to run the following to rebuild node-sass.
Before I did that, I was getting this error: