Ich habe Javascript Probleme im Zusammenhang mit reagieren. Dies ist der von Chrom gefangen Fehler bei Seite rendert:UNMET PEER ABHÄNGIGKEIT mit reagieren
Uncaught TypeError: Super expression must either be null or a function, not undefined
at _inherits (application.js:16301)
at application.js:16310
at Object.232.prop-types (application.js:16549)
at s (application.js:1)
at application.js:1
at Object.233../Collapse (application.js:16574)
at s (application.js:1)
at application.js:1
at Object.1.react (application.js:78)
at s (application.js:1)
Wenn ich habe meine installieren reagieren npm verwenden es beschwert sich über Peer-Abhängigkeiten reagieren und reagieren-height:
├─┬ UNMET PEER DEPENDENCY [email protected]
│ ├─┬ [email protected]
│ │ └─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├─┬ [email protected]
...
Und:
├─┬ UNMET PEER DEPENDENCY [email protected]
│ └─┬ [email protected]
│ └─┬ [email protected]
│ └── [email protected]
Danach änderte ich meine package.json-Datei:
"react": "0.14.9",
"react-bootstrap": "^0.28.1",
"react-collapse": "^2.2.1",
"react-dom": "^0.14.3",
"react-height": "2.2.1",
...
Nach diesen Änderungen habe ich komplett node_modules
Ordner mit rm -rf
gelöscht einen npm Cache sauber und erneut zu installieren.
Das SEHR GLEICHE Problem tritt weiterhin auf. Ich bemerke 2 Warnungen:
npm WARN [email protected] requires a peer of [email protected]>=15.3 but none was installed.
npm WARN [email protected] requires a peer of [email protected]^3 but none was installed.
Gibt es ein Problem, um die Pakete oder ein Problem im Zusammenhang mit reagieren zu aktualisieren?
Ihre React-Version ist veraltet. 'benötigt einen Peer von react @> = 15.3', Ihre installierte Version ist' 0.14.9'. – evolutionxbox
Ich habe eine vollständige Aktualisierung durchgeführt, und das Uncaught typeFehler-Problem bleibt bestehen. – learner