Quick fix for a ENOENT node-sass error

We’ve been working with Angular2 lately and came across this issue when attempting to build the project:

build modulesError: ENOENT: no such file or directory, scandir '/your/project/directory/node_modules/node-sass/...'

We were able to fix it by running

node rebuild node-sass

Hope this helps and saves you some time.

Facebooktwitterlinkedin