小编emi*_*err的帖子

命令 npm install swiper 失败 - 代码 255

当我尝试运行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)

node.js npm swiper.js

3
推荐指数
1
解决办法
2523
查看次数

标签 统计

node.js ×1

npm ×1

swiper.js ×1