Reputation: 213
I am developing in both ionic3 and angular.
Node.js version: v6.12.2
Warning when angular project starts: You are running version v6.12.2 of Node.js, which is not supported by Angular CLI v6. The official Node.js version that is supported is 8.9 and greater.
Then i upgrade node.js version..
Node.js version: v10.4.1
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 10.x
Found bindings for the following environments: - OS X 64-bit with Node.js 6.x
What should I do to get both to work together smoothly?
Upvotes: 3
Views: 3758
Reputation: 2503
You either run npm install
again to run the post-install script of node-sass
or you
npm rebuild node-sass
to rebuild your node-sass with the current installed node
Upvotes: 1