Skip to content

react-native required #3

Description

@johanjmoncada

Issue Description

Requires react-native module

Steps to Reproduce / Code Snippets

  1. install the component npm install react-web-gifted-chat --save
  2. import the component with import { GiftedChat } from 'react-web-gifted-chat'
  3. there is Error:
ERROR in ./node_modules/react-web-gifted-chat/dist/index.js
Module not found: Error: Can't resolve 'react-native' in '/Users/johan/Documents/my-project/node_modules/react-web-gifted-chat/dist'
 @ ./node_modules/react-web-gifted-chat/dist/index.js 13:18-41
 @ ./app/containers/HomePage/index.js
 @ ./app/containers/HomePage/Loadable.js
 @ ./app/containers/App/index.js
 @ ./app/app.js
 @ multi ./node_modules/react-app-polyfill/ie11.js webpack-hot-middleware/client?reload=true ./app/app.js

Expected Results

The component runs smoothly without requesting react-native

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions