How Can I solve this node-sass problem on terminal mac ? I cannot also run this package

69 Views Asked by At

enter image description here

I do not know why this problem occurs. I can also run my node-sass package on visual studio code.

I did rebuild nodes-sass but it did not help.

2

There are 2 best solutions below

4
On

try this:

npm --depth 9999 update npm rebuild node-sass

what npm --depth 9999 update is doing?

"If no package name is specified, all packages in the specified location (global or local) will be updated. As of [email protected], the npm update will only inspect top-level packages. Prior versions of npm would also recursively inspect all dependencies. To get the old behavior, use npm --depth 9999 update ."

0
On

node-sass won't support Node 15 till there is a 5.0 release made