jwohlfert23 / react-native-tag-input

A simple React Native component that creates an input for tags, emails, etc.
MIT License
231 stars 104 forks source link

Getting Cannot resolve symbol 'React-Native-Component' #62

Closed theapache64 closed 6 years ago

theapache64 commented 6 years ago

When i include this library in my project, Webstorm says Cannot resolve symbol 'React-Native-Component' where React-Native-Component = any react native component.

image

Ashoat commented 6 years ago

I'm not familiar with Webstorm and I'm not sure why Webstorm would do that. I can't imagine what that error would have to do with this library.

theapache64 commented 6 years ago

I've deleted flow-typed folder from node_modules/react-native-tag-input and the error gone. I am new in RN. I don't know why it worked. I think it happened due to the collision of multiple version of react native.

Ashoat commented 6 years ago

That's helpful to know. We shouldn't be including that folder in the package anyways. I'll put out a new version in a second that doesn't include that folder.

theapache64 commented 6 years ago

Okay. that's great. Btw, the library is awesome. :+1:

sibelius commented 6 years ago

this is not a problem with this package at all

we should close this

theapache64 commented 6 years ago

I think it's a problem with the package, and @Ashoat told me that there will be a new version with a fix to this issue. Anyways, am closing this. Tnx all for the response.

Ashoat commented 6 years ago

react-native-tag-input@0.0.20 has just been published and it should not include flow-typed.

theapache64 commented 6 years ago

Updated (y). Tnx @Ashoat :)

image