0

error: TypeError: Cannot read property 'reduce' of undefined at resolveDependencies (G:\React-Native\Native\chatmat\node_modules\metro\src\DeltaBundler\traverseDependencies.js:411:33) at processModule (G:\React-Native\Native\chatmat\node_modules\metro\src\DeltaBundler\traverseDependencies.js:140:31) at async addDependency (G:\React-Native\Native\chatmat\node_modules\metro\src\DeltaBundler\traverseDependencies.js:230:18) at async Promise.all (index 8) at async processModule (G:\React-Native\Native\chatmat\node_modules\metro\src\DeltaBundler\traverseDependencies.js:198:5) at async addDependency (G:\React-Native\Native\chatmat\node_modules\metro\src\DeltaBundler\traverseDependencies.js:230:18) at async Promise.all (index 6) at async processModule (G:\React-Native\Native\chatmat\node_modules\metro\src\DeltaBundler\traverseDependencies.js:198:5) at async addDependency (G:\React-Native\Native\chatmat\node_modules\metro\src\DeltaBundler\traverseDependencies.js:230:18) at async Promise.all (index 2)Please see this images

2 Answers 2

0

Please show your query.

The error says it is not able to get parameter like

something.reduce , so it is not getting that something- it can either be null or undefined currently. You can put something?.reduce to check for null or undefined

Sign up to request clarification or add additional context in comments.

Comments

0

As I can see your reduce is undefined or not getting it's value. Please check that. Also check the dependency you have used in this screen try to uninstall and then install it.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.