Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running in docker, need rebuild node-sass #41

Closed
sunnywx opened this issue Mar 30, 2018 · 1 comment
Closed

Running in docker, need rebuild node-sass #41

sunnywx opened this issue Mar 30, 2018 · 1 comment
Labels

Comments

@sunnywx
Copy link
Contributor

sunnywx commented Mar 30, 2018

When running docker-compose up, node-sass is not built correctly, the node bindings is not generated.

see: yarnpkg/yarn#1981

solve: change package.json

{
  "scripts": {
    "postinstall": "npm rebuild node-sass"
  }
}
@sunnywx sunnywx added the memo label Mar 30, 2018
@sunnywx sunnywx closed this as completed Apr 18, 2018
@CaryWill
Copy link

it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants