You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deno run -A --node-modules-dir npm:realfavicon@latest generate src/ui/assets/favicon.png favicon-settings.json output-data.json public
error: Uncaught (in promise) Error:
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp-darwin-arm64v8.node'
Require stack:
- /Users/landsman/projects/landsman/music/node_modules/.deno/sharp@0.32.6/node_modules/sharp/lib/sharp.js
- /Users/landsman/projects/landsman/music/node_modules/.deno/sharp@0.32.6/node_modules/sharp/lib/constructor.js
- /Users/landsman/projects/landsman/music/node_modules/.deno/sharp@0.32.6/node_modules/sharp/lib/index.js
- /Users/landsman/projects/landsman/music/node_modules/.deno/@realfavicongenerator+check-favicon@0.4.8/node_modules/@realfavicongenerator/check-favicon/dist/desktop/desktop.js
- /Users/landsman/projects/landsman/music/node_modules/.deno/@realfavicongenerator+check-favicon@0.4.8/node_modules/@realfavicongenerator/check-favicon/dist/index.js
- /Users/landsman/projects/landsman/music/node_modules/.deno/@realfavicongenerator+check-favicon@0.4.8/node_modules/@realfavicongenerator/check-favicon/dist/index.js
Possible solutions:
- Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
- Install for the current darwin-arm64v8 runtime: "npm install --platform=darwin --arch=arm64v8 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install
at Object.<anonymous> (file:///Users/landsman/projects/landsman/music/node_modules/.deno/sharp@0.32.6/node_modules/sharp/lib/sharp.js:37:9)
at Object.<anonymous> (file:///Users/landsman/projects/landsman/music/node_modules/.deno/sharp@0.32.6/node_modules/sharp/lib/sharp.js:40:4)
at Module._compile (node:module:743:34)
at loadMaybeCjs (node:module:768:10)
at Object.Module._extensions..js (node:module:753:12)
at Module.load (node:module:660:32)
at Function.Module._load (node:module:532:12)
at Module.require (node:module:679:19)
at require (node:module:810:16)
at Object.<anonymous> (file:///Users/landsman/projects/landsman/music/node_modules/.deno/sharp@0.32.6/node_modules/sharp/lib/constructor.js:11:1)
info: Trying to execute an npm package using Node-API addons,
these packages require local`node_modules` directory to be present.
hint: Add `"nodeModulesDir": "auto" option to `deno.json`, and then run`deno install --allow-scripts=npm:<package> --entrypoint <script>` to setup `node_modules` directory.
The text was updated successfully, but these errors were encountered:
current state
The text was updated successfully, but these errors were encountered: