Closed elgud closed 1 year ago
Fixed the issue by deleting the node-modules folder and running npm install again.
Hey @elgud! Glad to see you've found a solution to this, it's the first thing I'd suggest when npm install
isn't working 🤔 Weird though that 'sharp' package, it seems to have something to do with Apples M1 chip, oddly enough. Anyway, I'll close this issue since there's a fix 🙂
I am trying to build this theme and I get the error:
Error: Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp-darwin-arm64v8.node' Require stack:
Possible solutions:
Node.js v19.7.0
I am using the latest version of node.js.
When I do npm install, there are loads of vulnerabilities including 7 critical:
npm install
up to date, audited 1595 packages in 13s
306 packages are looking for funding run
npm fund
for details49 vulnerabilities (3 low, 39 high, 7 critical)
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run
npm audit
for details.