yarn install
to install the dependenciesnpx nx build demo-build
- this will fail because of the error already shared- When you comment the import from
@cometchat/chat-uikit-react-native
in the filelibs/demo-lib/src/Component.tsx
it works with out an issue
import { StyleSheet, Text, View } from 'react-native';
import React from 'react';
// import { CometChatMessages } from '@cometchat/chat-uikit-react-native';
const MainExport = () => {
return <View>{/_ <CometChatMessages /> _/}</View>;
};
export default MainExport;
const styles = StyleSheet.create({});
- re build using
npx nx build demo-build