Я использую create-react-kotlin-app и следую инструкциям на его Страница GitHub, чтобы создать приложение React + Redux с использованием Kotlin. Первая часть установки работает нормально:
create-react-kotlin-app my-app
cd my-app
npm start
Приложение работает нормально, но когда я пытаюсь добавить Redux:
npm install @jetbrains/kotlin-react-redux
npm WARN @jetbrains/[email protected] requires a peer of core-js@^2.5.7 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @jetbrains/[email protected] requires a peer of @jetbrains/kotlin-redux@^4.0.0-pre.49 but none is installed. You must install peer dependencies yourself.
npm WARN @jetbrains/[email protected] requires a peer of react-redux@^5.0.7 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
+ @jetbrains/[email protected]
added 1 package from 1 contributor and audited 5522 packages in 9.891s
found 0 vulnerabilities
Redux не работает. Как это исправить? (Я использую npm 6.1.0).





Привет, @divlan. Вы пробовали работать через officail Руки вверх в приложении Kotlin React?