ERROR in Cannot find module ‘node-sass’

Config: macOS High Sierra, version 10.13.2, node:v8.1.2 npm:5.0.3 When I run npm start in my angularjs project I get this error: ERROR in Cannot find module ‘node-sass’ After this I run: npm i node-sass Now I get this error: gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: `gyp` … Read more

Command Line Tools not working – OS X El Capitan, Sierra, High Sierra, Mojave

I just upgraded from Yosemite to El Capitan (and replicated the problem upgrading from El Capitan to Sierra), and when I try to type for example git status inside a terminal, I get the following error: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun I don’t have Xcode installed, never did. Anyone … Read more