cometchat / cometchat-uikit-react

Ready-to-use Chat UI Components for React (JavaScript/Web)
Other
89 stars 58 forks source link

Require Cycles Warning #143

Closed jomarip closed 8 months ago

jomarip commented 8 months ago

WARN Require cycle: node_modules/@cometchat/chat-uikit-react-native/src/shared/index.ts -> node_modules/@cometchat/chat-uikit-react-native/src/shared/framework/index.ts -> node_modules/@cometchat/chat-uikit-react-native/src/shared/framework/DataSource.ts -> node_modules/@cometchat/chat-uikit-react-native/src/AI/AIOptionsStyle.ts -> node_modules/@cometchat/chat-uikit-react-native/src/shared/index.ts

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

This is the dependency I currently have cometchat/chat-uikit-react-native": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/@cometchat/chat-uikit-react-native/-/chat-uikit-react-native-4.1.2.tgz", "integrity": "sha512-oNW4h77q+PnwwF+dz+VvMRvwi9EifpncnEr+nz+dUeDeTtciXc2iD/443/2AZcNOCKEGWT+V9BhHFcN6GVp1yQ==", "requires": { "@react-native-async-storage/async-storage": "^1.17.10", "@react-native-community/clipboard": "^1.5.1" }

cometchat-helpcenter-bot commented 8 months ago

Kritika (CometChat Team) replied:

Hi Jomarip,

Thank you for your query. Happy to help!

I am looking into this issue and investigation may take some time. We will get back to you shortly.

Thanks & Regards Kritika Rastogi CometChat

cometchat-helpcenter-bot commented 8 months ago

Kritika (CometChat Team) replied:

Request #22620 "Require Cycles Warning" was closed and merged into this request. Last comment in request #22620:

WARN Require cycle: node_modules/@cometchat/chat-uikit-react-native/src/shared/index.ts -> node_modules/@cometchat/chat-uikit-react-native/src/shared/framework/index.ts -> node_modules/@cometchat/chat-uikit-react-native/src/shared/framework/DataSource.ts -> node_modules/@cometchat/chat-uikit-react-native/src/AI/AIOptionsStyle.ts -> node_modules/@cometchat/chat-uikit-react-native/src/shared/index.ts

Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.

I also submitted as a Github Issue. I didn't know which is preferred.


Submitted from: https://www.cometchat.com/docs/react-native-uikit/overview

cometchat-helpcenter-bot commented 8 months ago

Kritika (CometChat Team) replied:

Hi Jomarip,

I am going to loop in an Implementation Engineer with more product experience in this area. They will be taking over from here and assisting you with this issue. The subsequent team member will have access to all the data we have gathered up to this point as well as any new information you offer in this message. If no additional information is needed from your end, our team will carry out an investigation and get in touch to provide an update. We appreciate your patience!

Thanks & Regards Kritika Rastogi CometChat

cometchat-helpcenter-bot commented 8 months ago

Birendra Gupta (CometChat Team) replied:

Hi,

Could you please share the steps to reproduce this issue? Additionally, could you provide the package.json file?

Thanks

Birendra Gupta CometChat

jomarip commented 8 months ago

I was running it with npm start. I don't think anything special was done.

On Wed, Jan 24, 2024 at 12:53 AM CometChat Help Center Bot < @.***> wrote:

Birendra Gupta (CometChat Team) replied:

Hi,

Could you please share the steps to reproduce this issue? Additionally, could you provide the package.json file?

Thanks

Birendra Gupta CometChat

— Reply to this email directly, view it on GitHub https://github.com/cometchat/cometchat-chat-uikit-react/issues/143#issuecomment-1907668101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZYK4JHO3SGWKKW66EF4ILYQDD2JAVCNFSM6AAAAABCIGXNSOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBXGY3DQMJQGE . You are receiving this because you authored the thread.Message ID: @.***>

-- Jomari Peterson "Creating the Context for Miracles" 707-373-1093