sms516
3/20/2019 - 10:28 PM

Windows specific commands

// Install cross-env to be Windows compatible
npm install -g cross-env

// Also add this in front of any NODE_ENV 
node node_modules/cross-env/dist/bin/cross-env.js 

// node-sass issue
npm rebuild node-sass

// Windows host using vagrant with a shared VM folder to a Linux box and using npm
npm install --no-bin-links

// When building and getting linebrake issues add this to the .eslintrc file in the rules object.
"rules":{
  "linebreak-style": ["error", "windows"] // or
  "linebreak-style": 0 // no linebreak rules
}