nandorojo / solito

🧍‍♂️ React Native + Next.js, unified.
https://solito.dev
MIT License
3.53k stars 180 forks source link

installing with expo v47 #458

Closed ydrea closed 10 months ago

ydrea commented 10 months ago

Is there an existing issue for this?

Do you want this issue prioritized?

Current Behavior

trying to get an example with maps up and running (@teovilla/react-native-web-maps), but ran into a routing errror.

Expected Behavior

No response

Steps To Reproduce

No response

Versions

- Solito:
- Next.js: 12.1.0
- Expo: 47
- React Native: 0.70.8

Screenshots


Android Bundling failed 47879ms
error: SyntaxError in ../../node_modules/@react-navigation/core/src/types.tsx: /home/ydrea/13next/react-native-web-maps-solito-example/node_modules/@react-navigation/core/src/types.tsx: Unexpected token, expected "?" (705:52)

  703 |   [RouteName in keyof ParamList]?: NonNullable<
  704 |     ParamList[RouteName]
> 705 |   > extends NavigatorScreenParams<infer T extends {}>
      |                                                     ^
  706 |     ? string | PathConfig<T>
  707 |     : string | Omit<PathConfig<{}>, 'screens' | 'initialRouteName'>;
  708 | };

Reproduction

No response