expo / router

[ARCHIVE]: Expo Router has moved to expo/expo -- The File-based router for universal React Native apps

Home Page:https://docs.expo.dev/routing/introduction/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Routes not typed correctly on Windows 11

salman-ar-sar opened this issue · comments

commented

Which package manager are you using? (Yarn is recommended)

yarn

Summary

Routes are not typed correctly on Windows. Attaching a screenshot for clarity. Using the template create by yarn create expo --template tabs@beta. No changes whatsoever expect that I created a copy of two.tsx as three.tsx. Was just trying out the Link component.

image

Tried the same thing on a Mac OS device. The routes are fine, though (tabs) and related routes are coming. Is that correct?

A screenshot of the type generation. This should be the issue right?
image

Minimal reproducible example

  1. yarn create expo --template tabs@beta
  2. Open in VSCode in Windows 11.
  3. Run expo start
    to start server and generate the types.
  4. Check the href of any Link component.

Getting the same issue on M1 mac
image

I have the same issue on Windows.
Do you have an estimation when this will be fixed ?