Brayheart
Brayheart

Reputation: 167

NPM node-sass build fails

I have referenced this, this, this, this, and this. I've tried uninstalling and reinstalling node, n, npm, and nvm. I was able to get it to run on node version 14, however I need to use node version 16.13.

This seems to be telling me node version 16.13 is incompatible with node-sass v6.0.1. However, my team runs these versions without issue. I need to run the same versions as my team otherwise I can't really contribute.

Error output is here.

Upvotes: 0

Views: 120

Answers (2)

nschonni
nschonni

Reputation: 4129

It looks like your running on the newer Apple Silicon from the arm64 arch lines in the log. Node-sass does not currently support that architecture. I'm guessing the sudo might have dropped you down into that Intel emulation layer and faked it out enough to work.

Upvotes: 1

Brayheart
Brayheart

Reputation: 167

I don't know how I didn't figure this out sooner.

If anyone ends up looking for this answer: I did move past this error with the sudo command

Upvotes: 0

Related Questions