bluecadet/cadet

Node-Sass not installing properly

Closed this issue · 4 comments

I created a new site with cadet and tried to run gulp fractal, but got this error:

Screen Shot 2020-02-28 at 10 55 03 AM

The solution: sass/node-sass#1579. This was resolved by running npm rebuild node-sass so we should add this to the tool or figure out if this is resolved in newer versions.

@dlaufer

Just double checking, but we don't have any npm commands in our docs... what exactly did you run before you saw the error?

I've run into this before too but I thought it was because I change my node versions a lot. So may be more of an issue than i thought previously.

Also, the npm/sass/gulp/stuff should also be logged in the themes repo: https://github.com/bluecadet/bc-base-themes

cadet should not really care about the theme stuff at all...

@pingevt I'm pretty sure that was the first thing I tried to do after finishing the instructions from the cadet README. I may have run an "npm install" beforehand.

gotcha - we could probably add more of those steps to the readme so we are completely ready to develop on a project.

This was due to having "ignore-scripts" set globally in my ~/.npmrc file.