After create a new ignite-bowser bowser with Expo, the following error shows on Expo Metro Bundler:
Building JavaScript bundle: error
While resolving module react-native/Libraries/Image/AssetRegistry, the Haste package react-native was found. However the module Libraries/Image/AssetRegistry could not be found within the package. Indeed, none of these files exist:
Kindly let me know if you have same experience to solve it. Many thanks in advance.
$ npx ignite-cli new react_native
$ cd react_native
$ yarn start
Grep the QR code with my IPhone8 Expo APP.
System
platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
directory react_native /Users/neil/Documents/Work/projects/MissionCare/react_native
Android
java 1.8.0_191 /usr/bin/java
android home - undefined
iOS
xcode 11.2.1
cocoapods 1.9.3 /usr/local/bin/pod
(base) Neil MBP:react_native neil$ ignite doctor
System
platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
directory react_native /Users/neil/Documents/Work/projects/MissionCare/react_native
After create a new ignite-bowser bowser with Expo, the following error shows on Expo Metro Bundler:
Building JavaScript bundle: error While resolving module
react-native/Libraries/Image/AssetRegistry
, the Haste packagereact-native
was found. However the moduleLibraries/Image/AssetRegistry
could not be found within the package. Indeed, none of these files exist:/Users/neil/Documents/Work/projects/MissionCare/react_native/Libraries/Image/AssetRegistry(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.wasm|.native.wasm|.wasm)
/Users/neil/Documents/Work/projects/MissionCare/react_native/Libraries/Image/AssetRegistry/index(.native|.ios.expo.ts|.native.expo.ts|.expo.ts|.ios.expo.tsx|.native.expo.tsx|.expo.tsx|.ios.expo.js|.native.expo.js|.expo.js|.ios.expo.jsx|.native.expo.jsx|.expo.jsx|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.wasm|.native.wasm|.wasm)
Kindly let me know if you have same experience to solve it. Many thanks in advance.
$ npx ignite-cli new react_native $ cd react_native $ yarn start Grep the QR code with my IPhone8 Expo APP.
System platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
directory react_native /Users/neil/Documents/Work/projects/MissionCare/react_native
JavaScript node 12.18.3 /usr/local/bin/node npm 6.14.6 /usr/local/bin/npm
yarn 1.22.5 /usr/local/bin/yarn
Ignite ignite-cli 3.5.3 /usr/local/bin/ignite
ignite src build /Users/neil/.config/yarn/global/node_modules/ignite-cli/build navigation react-navigation
generators
component ignite-bowser
model ignite-bowser
navigator ignite-bowser
screen ignite-bowser
createdWith 3.5.3
boilerplate ignite-bowser
boilerplateVersion 5.3.0
Android java 1.8.0_191 /usr/bin/java android home - undefined
iOS xcode 11.2.1
cocoapods 1.9.3 /usr/local/bin/pod (base) Neil MBP:react_native neil$ ignite doctor System platform darwin
arch x64
cpu 4 cores Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
directory react_native /Users/neil/Documents/Work/projects/MissionCare/react_native
JavaScript node 12.18.3 /usr/local/bin/node npm 6.14.6 /usr/local/bin/npm
yarn 1.22.5 /usr/local/bin/yarn
Ignite ignite-cli 3.5.3 /usr/local/bin/ignite
ignite src build /Users/neil/.config/yarn/global/node_modules/ignite-cli/build navigation react-navigation
generators
component ignite-bowser
model ignite-bowser
navigator ignite-bowser
screen ignite-bowser
createdWith 3.5.3
boilerplate ignite-bowser
boilerplateVersion 5.3.0
Android java 1.8.0_191 /usr/bin/java android home - undefined
iOS xcode 11.2.1
cocoapods 1.9.3 /usr/local/bin/pod