cometchat / cometchat-uikit-react-native

Ready-to-use Chat UI Components for React Native
https://www.cometchat.com
Other
40 stars 24 forks source link

Build failure #65

Closed naushadamin closed 2 months ago

naushadamin commented 2 months ago

Describe the problem

error log:

error Unable to resolve module ./spineer.png from /Users/runner/work/1/s/node_modules/@cometchat/chat-uikit-react-native/lib/AI/resources/index.js: 

None of these files exist:
  * spineer.png
  * node_modules/@cometchat/chat-uikit-react-native/lib/AI/resources/spineer.png/index(.native|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx)
> 1 | import loadingIcon from './spineer.png';
    |                          ^
  2 | import errorIcon from './ai-error.png';
  3 | import emptyIcon from './ai-empty.png';
  4 | export { loadingIcon, errorIcon, emptyIcon };.
Error: Unable to resolve module ./spineer.png from /Users/runner/work/1/s/node_modules/@cometchat/chat-uikit-react-native/lib/AI/resources/index.js: 

What was the expected behavior?

app builds successfully

Reproduction

Consistently reproducible with our custom app while building for iOS. Unable to reproduce the issue when importing the chat sdk into a new sample app

  • Step 1..
  • Step 2..
  • ...

Where applicable, please include:

  • The smallest possible sample app that reproduces the undesirable behavior
  • Log files (redact/remove sensitive information)
  • Application settings (redact/remove sensitive information)
  • Screenshots

Environment

Please provide the following:

"@cometchat/chat-uikit-react-native": "^4.3.13",

naushadamin commented 2 months ago

no longer an issue