Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Unable to resolve Styled-component #35

Open
MohammedFadin opened this issue Sep 21, 2018 · 10 comments
Open

Unable to resolve Styled-component #35

MohammedFadin opened this issue Sep 21, 2018 · 10 comments

Comments

@MohammedFadin
Copy link

Description

So I followed the steps to run the project, copied the code as is from the installation section " https://lucasbassetti.com.br/react-simple-chatbot/#/docs/installation" however, I keep building Javascript bundle keeps failing.

Screenshots

screen shot 2018-09-21 at 3 26 05 pm

@grinono
Copy link

grinono commented Sep 30, 2018

just found the same issue. Did you find a solution?

@MohammedFadin
Copy link
Author

Unfortunately no. I can confirm the issue exists, multiple colleagues faced the same issue.

@imana97
Copy link

imana97 commented Oct 31, 2018

I have the same problem. Anyone found a solution yet?

@imana97
Copy link

imana97 commented Nov 1, 2018

Hi all,
I found a solution,
just install styled-components
npm install --save styled-components

@dani-z
Copy link

dani-z commented Nov 14, 2018

styled-components is being marked as a peerDependencies so, as @imana97 suggested, you need to install it in your project.

@jhainaua
Copy link

Hi all,
I found a solution,
just install styled-components
npm install --save styled-components

This solution also worked for me, but I had to uninstall the packages first.

npm uninstall react-native-chatbot
npm uninstall styled-components
rm -rf node_modules && npm install
npm install --save react-native-chatbot styled-components

@musadiq-jinbade
Copy link

this is working in Android But not in IOS

@JuAlexandre
Copy link

After installing styles-components I found this error:

Capture d’écran 2020-10-02 à 10 07 51

If I install @react-native-community/art yet another new error:

Capture d’écran 2020-10-02 à 10 10 59

@jaykeerti
Copy link

@JuAlexandre Did you find any solution for the issue you mentioned?

@tomarviii88
Copy link

I also had similar problem.
I tried npm i @react-native-community/art and it worked after gradlew clean and react-native run-android.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants