Error: ‘node-sass’ version 5.0.0 is incompatible with ^4.0.0
I’ve created a blank React project, using the command: npx create-react-app
on npm v7.0.7 and Node.js v15.0.1
I’ve created a blank React project, using the command: npx create-react-app
on npm v7.0.7 and Node.js v15.0.1
I am trying to install node-sass in a project, which perfectly builds and runs on my pc but on my surface I am having major issues when trying to install the packages.
I am working on a React project that follows this structure
I tried to install sass-loader to compile scss, but it shows a version compatibility error. I downgrade the version and did so many things, but still shows the same issue.
I am trying to run a react project as dev server on my surface, and if gives me the error shown below and in the title. When I am running the same config on my pc I am not having this problem. (I tried creating the same conditions, but it just wont work).
In variaous React documentation I see it being added as a prod dependency but I’m not understanding why. Shouldn’t it be a devDependecy since SASS only gets compiled during development and when pushed to prod you are actually pushing the compiled CSS files?
I tried to add node-sass
to my project using yarn add node-sass
, but I am getting this error can anyone help
When I install node-sass
for a React project, it gives me the error below. I tried lot of things but none did work. I tried to delete it and install it again, I tried to start a new project but it’s still not working. I updated everything to the last version: node.js to v16.14.0
and npm to v8.3.1
.
I just want to create a component for laravel nova but got following errors during npm install process. I’ve tried to install node-sass in other projects without problems but in this component, I’ll get the same error.
I want to use the node-sass
module in my node.js v0.12
application to benefit from the performance of libsass
.
I executed npm i node-sass
to install the module, no errors so far.