Try reinstalling `node-sass` on node 0.12?

前端 未结 17 2729
感情败类
感情败类 2020-12-02 04:04

I would like to use google web starter kit. I installed node.js v0.12.0, node-sass & gulp.

And then ran:

$ sudo npm ins         


        
17条回答
  •  误落风尘
    2020-12-02 04:27

    This answer is a bit orthogonal to the the OP, but --

    libsass bindings don't install properly with the node-sass wrapper on Node v4.0.0. I got the same error message as in the question (Error: 'libsass' bindings not found. Try reinstalling 'node-sass') but I ended up uninstalling Node v4.0.0 and installing v0.12.7 using nvm, via this script:

    https://gist.github.com/brock/5b1b70590e1171c4ab54

    and now libsass and node-sass are behaving properly.

提交回复
热议问题