【问题标题】:SwiperJS missing dependencies: swiper/typesSwiperJS 缺少依赖项:swiper/types
【发布时间】:2021-08-18 08:35:29
【问题描述】:

我正在尝试按照教程在一个新的 Angular 项目中设置 SwiperJS。但它显示了缺少依赖项的错误。然而,我按照here提供的步骤操作。

这个问题是什么意思,如何解决?

The target entry-point "swiper_angular" has missing dependencies:
 - swiper/types

【问题讨论】:

    标签: angular swiperjs


    【解决方案1】:

    也许你需要重新安装模块

    npm i swiper --save
    
    rm -rf node_modules package-lock.json
    
    npm i
    

    【讨论】:

    • 找不到与参数名称'rf'匹配的参数?
    • 你在 Windows 上? :D 删除 node_modules 文件夹和 package-lock.json 文件而不是这个命令
    猜你喜欢
    • 2017-12-25
    • 2015-04-18
    • 2020-03-24
    • 2012-07-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多