First run Cannot find module

I’m new enough at Expo that I’m assuming I’m doing it wrong, but am not having good luck searching for answers on this.

I’m using the component and am getting the following error only the first time the app runs. I’m guessing it happens standalone too because the app freezes on the splash screen on first run but haven’t yet figured out how to prove that. It feels like the error is occurring as the component is unmounting.

Here’s the error stack

Error: Cannot find module '~/project/node_modules/expo/tools/hashAssetFiles:963:1249'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)
    at Function.Module._load (internal/modules/cjs/loader.js:520:25)
    at Module.require (internal/modules/cjs/loader.js:650:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at ~/project/node_modules/metro/src/Assets/index.js:279:33
    at (<anonymous>)
    at step (~/project/node_modules/metro/src/Assets/index.js:327:347)
    at ~/project/node_modules/metro/src/Assets/index.js:327:577
    at new Promise (<anonymous>)"

Here’s the code

import Ionicons from '@expo/vector-icons/Ionicons';

  async _loadResourcesAsync() {
    return Promise.all([
        // This is the font that we are using for our tab bar

Does this help: ?

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