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
After I upodated PNPM to version 10, I run the script and got errors:
PWA v0.21.1
WARNING: you must install the following dev dependencies to use the PWA assets generator:
- "@vite-pwa/assets-generator"
- "sharp" (should be installed when installing @vite-pwa/assets-generator)
- "sharp-ico" (should be installed when installing @vite-pwa/assets-generator) Error:
Something went wrong installing the "sharp" module
Cannot find module '../build/Release/sharp-win32-x64.node'
Require stack:
- C:\web\node_modules\.pnpm\[email protected]\node_modules\sharp\lib\sharp.js
- C:\web\node_modules\.pnpm\[email protected]\node_modules\sharp\lib\constructor.js
- C:\web\node_modules\.pnpm\[email protected]\node_modules\sharp\lib\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 win32-x64 runtime: "npm install --platform=win32 --arch=x64 sharp"
- Consult the installation documentation: https://sharp.pixelplumbing.com/install
The text was updated successfully, but these errors were encountered:
After I upodated PNPM to version 10, I run the script and got errors:
The text was updated successfully, but these errors were encountered: