Ich versuche react-slick in meinem React-Projekt zu verwenden. Wenn ich versuche, esKann das Modul "react-slick" nicht finden
import Slider from 'react-slick';
ich diesen Fehler
Cannot find module "react-slick"
Sonst noch jemand dieses Problem mit bekommen zu importieren?
https://github.com/akiran/react-slick Installations
npm install react-slick
auch Slick-Karussell für CSS und Schriftart installieren
npm install slick-carousel
Reagieren V "[email protected]^15.4.1"
NPM installieren Ergebnisse
npm install react-slick --save
(node:14297) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[email protected] ..blal
└─┬ [email protected]
├─┬ [email protected]
│ └── [email protected]
├─┬ [email protected]
│ ├── [email protected]
│ └── [email protected]
└─┬ [email protected]
└── [email protected]
npm install slick-carousel --save
(node:14298) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[email protected] ..blal
└── [email protected]
Es gibt nicht genug Kontext, um Ihnen bei dieser Frage zu helfen. Können Sie die Ausgabe der 'npm install react-slick' und der' package.json' vorher und nachher anzeigen? –
Gerade hinzugefügt die npm Installationsergebnisse in der obigen Post –
Großartig, sieht normal aus - wie sieht das 'package.json' aus? Könnten Sie auch die Datei posten, in die Sie die problematischen Bibliotheken importieren? –