Assets not found after expo init

I have not change anything since, and result in this error

Error: Asset not found: /home/NAME/PROJECT/assets/icon.png for platform: null
    at /home/NAME/PROJECT/node_modules/metro/src/Assets.js:147:13
    at Generator.next (<anonymous>)
    at step (/homeNAME/PROJECT/node_modules/metro/src/Assets.js:326:347)
    at /home/NAME/PROJECT/node_modules/metro/src/Assets.js:326:507

Error: Asset not found: /home/NAME/PROJECT/assets/icon.png for platform: null
    at /home/NAME/PROJECT/node_modules/metro/src/Assets.js:147:13
    at Generator.next (<anonymous>)
    at step (/home/NAME/PROJECT/node_modules/metro/src/Assets.js:326:347)
    at /home/NAME/PROJECT/node_modules/metro/src/Assets.js:326:507

expo diagnoistics

Expo CLI 2.18.5 environment info:
    System:
      OS: Linux 4.15 Ubuntu 16.04.6 LTS (Xenial Xerus)
      Shell: 4.3.48 - /bin/bash
    Binaries:
      Node: 11.6.0 - ~/.nvm/versions/node/v11.6.0/bin/node
      Yarn: 1.16.0 - /usr/bin/yarn
      npm: 6.9.0 - ~/.nvm/versions/node/v11.6.0/bin/npm
    npmPackages:
      expo: ^32.0.0 => 32.0.6 
      react: 16.5.0 => 16.5.0 
      react-native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz => 0.57.1 
      react-navigation: ^3.0.9 => 3.11.0 
    npmGlobalPackages:
      expo-cli: 2.18.5

Hi @mblharrison, looks like there was a similar issue posted here. Fixed after:

Problem fixed. I cleared all the data and cache from Expo through the settings on my phone.

Let me know if that works!

Aye this has fixed the issue, thanks.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.