I have installed libraries using the provided code of the documentation.
npm un -g react-native-cli && npm i -g @react-native-community/cli npx
Then created a new project using the provided code
npx react-native init MyApp --template @ui-kitten/template-js
After that, I used react-native run-android to start the app. Then I got the following issue.
bundling failed: Error: Unable to resolve module../../../../node_modules/@eva-design/processorfromnode_modules/@ui-kitten/components/theme/application/applicationProvider.component.js:
How to fix this?
Hi! 馃憢 Thanks for reporting
We already working on it, the patch will be available soon
As a workaround, change the following file:
node_modules/@ui-kitten/components/theme/application/applicationProvider.component.js
from
...
import React from 'react';
import merge from 'lodash.merge';
/* THIS LINE => */ import { SchemaProcessor } from '../../../../node_modules/@eva-design/processor';
import { StyleProvider } from '../style/styleProvider.component';
import { ModalPanel } from '../modal/modalPanel.component';
...
to
...
import React from 'react';
import merge from 'lodash.merge';
/* THIS LINE => */ import { SchemaProcessor } from '../../node_modules/@eva-design/processor';
import { StyleProvider } from '../style/styleProvider.component';
import { ModalPanel } from '../modal/modalPanel.component';
...
@PasinduDineth @stay2be
We've just published an update that should generate your project properly. Try reinitializing by following same guide and thanks again for reporting 馃憤
Works now. Thanks @artyorsh !
Works fine mate. Thanks!