Ich arbeite derzeit mit, was ist im Grunde die Standard-Stub-Code, der beim Erstellen einer App mit Expo geliefert wird (Ich habe ein paar verschiedene Bildschirme erstellt und einige Styling). Wenn ich jedoch einen Befehl npm install
in meinem App-Verzeichnis ausführen, wird die App mit verschiedenen Abhängigkeitsfehlern ratled.npm installieren Pausen reagieren-native App erstellt mit Expo
Terminal-out setzen nach npm install redux --save redux react-redux
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No README data
npm WARN package.json [email protected] No license field.
npm WARN unmet dependency ../app/node_modules/@expo/ex-navigation requires [email protected]'^4.4.5' but will load
npm WARN unmet dependency ../app/node_modules/react-redux,
npm WARN unmet dependency which is version 5.0.5
npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--save" "redux" "react-redux"
npm ERR! node v4.2.2
npm ERR! npm v2.15.12
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=15.3.1
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=15.4.0
npm ERR! peerinvalid Peer [email protected] wants [email protected]*
npm ERR! peerinvalid Peer [email protected] wants [email protected]*
npm ERR! peerinvalid Peer [email protected] wants [email protected]>=15.4.0
npm ERR! peerinvalid Peer [email protected] wants [email protected]
npm ERR! peerinvalid Peer [email protected] wants [email protected]*
npm ERR! peerinvalid Peer [email protected] wants [email protected]^0.14.0 || ^15.0.0-0 || ^16.0.0-0
npm ERR! peerinvalid Peer [email protected] wants [email protected]^0.13.0 || ^0.14.0 || ^15.0.0
npm ERR! peerinvalid Peer [email protected] wants [email protected]^16.0.0-alpha.6
npm ERR! Please include the following file with any support request:
npm ERR! ../app/npm-debug.log
Unterhalb der Ausgang im ios Simulator empfangen ist:
Unable to resolve module `react-redux/lib/utils/storeShape` from `../app/node_modules/@expo/ex-navigation/src/ExNavigationProvider.js`: Module does not exist in the module map or in these directories:
../app/node_modules/react-redux/lib/utils
, ../app/node_modules/react-redux/lib/utils
Wenn ich versuche, zu entfernen, und installieren Sie den Knotenmodule Ordner oder neu zu installieren, npm I erhalten mehrere peerDependencies
Warnung gefolgt von Installationsfehlern. Ich habe versucht, verschiedene Pakete in sauberen Projekten zu installieren und die Ergebnisse sind ähnlich. Es scheint, als hätten andere Probleme mit Knotenabhängigkeiten gehabt, wenn sie mit der Expo gearbeitet haben.