nextjs-starter
nextjs-starter copied to clipboard
npm install fails
Describe the bug A clear and concise description of what the bug is. Running npm install fails and shows the following error
The engine "node" is incompatible with this module. Expected version "8.11.x". Got "12.14.0"
To Reproduce Steps to reproduce the behaviour. use latest version of node and try running npm install
Expected behavior A clear and concise description of what you expected to happen.
Ideally, it should work as far as it is using version > 8.11.x
Node version, NPM version and Operating System and version
node version: 12.14.0 npm version: 6.13.4 OS: macOS Mojave 10.14.6
Note: If you are using Microsoft Windows please see existing issues before opening a new ticket as it's likely the issue you have is specific to Windows.
Additional context Add any other context about the problem here.
I was able to fix this by running npm rebuild node-sass and then npm install.
The npm rebuild node-sass command didn't work for me. I had to perform the following routine to get it to work:
npm remove node-sass
npm install node-sass
npm update
npm install