Closed harry643 closed 6 months ago
This seems to be due to the npm bug as mentioned in the warning banner in the sharp docs here: https://sharp.pixelplumbing.com/install#npm-v10
I fixed the error by deleting package-lock.json and node_modules directory, then running npm install
to install the packages in package.json.
I get the error in the title when running
npm run dev
. Full output:Environment
node.js: 21.6.2 npm: 10.4.0 gatsby-cli: 5.13.2