-
报错
-
前提
-
我已经按照官网安装好了
npm install react-slick --save
npm install slick-carousel --save
并且引入了css样式
import “~slick-carousel/slick/slick.css”;
import “~slick-carousel/slick/slick-theme.css”; -
最后发现原因
因为我安装了淘宝镜像,安装的时候喜欢用cnpm,结果我再重新用npm安装,发现有更新,应该就是cnpm的问题
其实之前cnpm我都安装过,以后安装还是最好用npm -
官网链接
https://react-slick.neostack.com/docs/get-started -
可以参考的链接
https://www.cnblogs.com/huangmin1992/p/7609727.html
https://www.npmjs.com/package/react-slick
详细解决方案
2020/09/28 轮播react-slick报错 can`t resolve ‘react-slick‘
热度:24 发布时间:2024-02-23 18:49:43.0
相关解决方案
- cannot resolve symbol: class ApplicationException 有关问题
- delphi2007 Cannot resolve unit name 'IdHTTP'该怎么处理
- delphi2007 Cannot resolve unit name 'IdHTTP'该如何解决
- delphi2007 Cannot resolve unit name 'IdHTTP',该如何解决
- IPHostEntry strIp = Dns.Resolve(Environment.MachineName);报错!
- 吐血的 ORA-12154: TNS:could not resolve service name的解决办法
- 请我恩 cannot resolve symbol 是什么错误.
- cannot resolve symbol问题重提
- 急 Could not resolve host: http:解决办法
- src-resolve.4.2 Error resolving解决方法
- Eclipse使用Maven创建Web时异常:Could not resolve archetype org.apache.maven.archetypes
- Unable to resolve resource bundle "" for locale "en_US"
- Unable to resolve resource bundle for locale "en_US"
- 解决eclipse创设maven项目报错!Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp
- 应用jstl标签时提示The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolve
- cannot resolve symbol :variable change,该如何处理
- org.hibernate.QueryException: could not resolve
- JPA经过外键查询时报错:could not resolve property
- could not resolve property: UserID of: com.Bean.Products [from com.Bean.Products解决办法
- 很奇怪的有关问题org.hibernate.QueryException: Unable to resolve path
- Cannot resolve reference to bean 'sessionFactory' while setting bean property 's解决方案
- exception is javax.naming.NameNotFoundException: Unable to resolve '
- nested exception is org.hibernate.QueryException: could not resolve property
- java:450: cannot resolve symbol
- javax.naming.NameNotFoundException: Unable to resolve 'logon'. Resolved ''; remaining name 'logon',该如何解决
- (Eclipse)How to resolve "Initializing Java Tooling"
- 显示 the import java.util cannot be resolve,怎么解决
- Eclipse cannot be resolve to a type 是什么有关问题
- 为什么Java编译时返回"cannot resolve symbol symbol : method doubleValue location : class java.lang.Double"的异常
- React-Native入门指南(2)——代码结构