当我尝试运行npm installswiper 时会抛出错误。我尝试在本地和全局安装 swiper:
npm install swiper
npm install -g swiper
Run Code Online (Sandbox Code Playgroud)
我在全球范围内成功安装了它。但是当我尝试再次安装时,错误是相同的。
这是错误:
npm ERR! code 255
npm ERR! path C:\Users\Emir\Desktop\Project\portal\node_modules\swiper
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c
C:\Users\Emir\AppData\Local\Temp\postinstall-cab5f01a.cmd
npm ERR! "Love Swiper? Support Vladimir's work by donating or pledging on patreon:"
npm ERR! The syntax of the command is incorrect.
Run Code Online (Sandbox Code Playgroud)