0

I installed create-react-native-app on my machine to start working with React Native and was stopped by this error on the npm start step itself.

Current Environment:

node - 6.14.0 npm - 3.10.10 Expo - 2.3.0.1012011

On my terminal I am getting - "Failed building JavaScript bundle" at 96 percent.

On my phone when I click "Show Details" I am getting - "Error Code: CLIENT_LOADING_ERROR Status Code: 500"

/<location to folder>/FirstApp/node_modules/@expo/vector-icons/fonts/Entypo.ttf: Cannot find module '/<location to folder>/FirstApp/node_modules/expo/tools/hashAssetFiles'

ABI24_0_0RCTFBQuickPerformanceLoggerConfigureHooks
ABI25_0_0RCTFBQuickPerformanceLoggerConfigureHooks
<redacted>
<redacted>
<redacted>
<redacted>
<redacted>
CFRunLoopRunSpecific
GSEventRunModal
UIApplicationMain
Exponent
<redacted>
Akash Singh
  • 21
  • 1
  • 8

1 Answers1

0

Remove the "node_module" directory using $sudo rm -r node_module then run the $npm install command to reinstall node_modules if asked use "sudo"

thegoodguy
  • 162
  • 12
  • I tried that. I also tried using yarn instead of npm but I keep ending up on this screen. I don't know what I am missing here. – Akash Singh Apr 03 '18 at 00:12