Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues starting a new project from scratch #656

Open
samducker opened this issue Nov 30, 2024 · 1 comment
Open

Issues starting a new project from scratch #656

samducker opened this issue Nov 30, 2024 · 1 comment

Comments

@samducker
Copy link

Describe the bug
I installed the new project template with expo then read the readme and made sure my metro and babel was correct, and I encounter the following issue on startup.

I go to run yarn ios (I've also tried prebuild clean, and adding no build cache to yarn ios)

Metro has encountered an error:
context.fileSystemLookup is not a function: /Users/mac/Documents/GitHub/project/app/packages/mobile-ui/node_modules/metro-resolver/src/resolve.js (449:32)

447 |        };
448 |    }
> 449 |    const lookupResult = context.fileSystemLookup(redirectedPath);
450 |    if (lookupResult.exists && lookupResult.type === "f") {
451 |        return lookupResult.realPath;
452 |    }

RCTFatal

__28-[RCTCxxBridge handleError:]_block_invoke

_dispatch_call_block_and_release

_dispatch_client_callout

_dispatch_main_queue_drain

_dispatch_main_queue_callback_4CF

__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__

__CFRunLoopRun

To Reproduce
Install the template with expo from scratch on the latest version

Additional context
I'm in a monorepo setup with yarn workspaces, my project has another expo app in a different project within the monorepo

@dannyhw
Copy link
Member

dannyhw commented Dec 1, 2024

@samducker Can you provide the exact commands that you ran to create the project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants