Skip to content

Instantly share code, notes, and snippets.

@mindevolution
Last active February 26, 2020 08:26
Show Gist options
  • Save mindevolution/05cab52e678fad5288c186c19029624c to your computer and use it in GitHub Desktop.
Save mindevolution/05cab52e678fad5288c186c19029624c to your computer and use it in GitHub Desktop.
Docker in mac build node with node-sass
# https://github.com/sass/node-sass/issues/2165
docker pull node
# cd to working dir
# start docker
docker run -it -v $PWD:/code -p 3001:3000 node bash
npm i -g n
n 8.10.0
# install node-sass
npm uninstall node-sass && npm install node-sass --sass-binary-name=linux-x64-57
@mindevolution
Copy link
Author

Found bindings for the following environments:

  • OS X 64-bit with Node.js 10.x
  • Linux 64-bit with Node.js 8.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment