Sunday, October 15, 2023
HomeiOS Developmentjavascript - React-Native iOS Bundling failed 54ms error: : Error: Unable to...

javascript – React-Native iOS Bundling failed 54ms error: : Error: Unable to resolve module … node modules


I immediately bought this error when opening my react native app. please assist!

iOS Bundling failed 22ms
error: Error: Unable to resolve module  from C:UsersMariahelloappApp.js:  couldn't be discovered inside the mission or in these directories:
  node_modules
> 1 | import * as React from 'react';
    |                                ^
  2 | import { StatusBar } from 'expo-status-bar';
  3 | import { StyleSheet, Textual content, View, Picture, Button, Alert } from 'react-native';
  4 | import CarList from './CarList';
    at ModuleResolver.resolveDependency (C:UsersMariahelloappnode_modulesmetrosrcnode-hasteDependencyGraphModuleResolution.js:158:15)
    at DependencyGraph.resolveDependency (C:UsersMariahelloappnode_modulesmetrosrcnode-hasteDependencyGraph.js:231:43)
    at Object.resolve (C:UsersMariahelloappnode_modulesmetrosrclibtransformHelpers.js:129:24)
    at resolve (C:UsersMariahelloappnode_modulesmetrosrcDeltaBundlertraverseDependencies.js:396:33)
    at C:UsersMariahelloappnode_modulesmetrosrcDeltaBundlertraverseDependencies.js:412:26
    at Array.scale back (<nameless>)
    at resolveDependencies (C:UsersMariahelloappnode_modulesmetrosrcDeltaBundlertraverseDependencies.js:411:33)
    at processModule (C:UsersMariahelloappnode_modulesmetrosrcDeltaBundlertraverseDependencies.js:140:31)
    at async addDependency (C:UsersMariahelloappnode_modulesmetrosrcDeltaBundlertraverseDependencies.js:230:18)
    at async Promise.all (index 2)

screenshot from expo go



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments