npm i 报255错误
npm ERR! code 255
npm ERR! path D:\official\node_modules\swiper
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c C:\Users\user\AppData\Local\Temp\postinstall-80d87ba8.cmd
npm ERR! "Love Swiper? Support Vladimir's work by donating or pledging on patreon:
npm ERR! ���������ȷ��
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2024-01-16T07_16_34_799Z-debug-0.log
解决办法:
npm i swiper --ignore-scripts