Skip to content

New app fails on: "Unable to resolve module react-native-css-interop/jsx-runtime" #409

Open
@samtsai

Description

@samtsai

Issue tracker is ONLY used for reporting bugs. New features should be discussed on our discord, in the #create-expo-stack channel.

Followed the steps on the website with: pnpm, expo router, NativeWindUI, all the available components:
╭────────────────────────────────────────────────╮
│ │
│ Click the link to download your project! │
│ │
https://dlp.rn.new/bR2sJxm17h
│ │
╰────────────────────────────────────────────────╯

Success! 🎉 Now, just run the following to get started:

  1. cd my-expo-app
  2. pnpm install
  3. pnpm expo prebuild --clean
  4. pnpm run ios

Expected Behavior

Step 4 and also via Web should load the app.

Current Behavior

I first tried with web and then also ios and both his: Unable to resolve module react-native-css-interop/jsx-runtime.
image

Possible Solution

Steps to Reproduce

  1. Follow starter steps on https://rn.new/
  2. Run the app

CES Config File

{
  "cesVersion": "2.11.14",
  "projectName": "my-expo-app",
  "packages": [
    {
      "name": "nativewindui",
      "type": "styling",
      "options": {
        "selectedComponents": [
          "action-sheet",
          "activity-indicator",
          "activity-view",
          "avatar",
          "bottom-sheet",
          "date-picker",
          "picker",
          "progress-indicator",
          "ratings-indicator",
          "selectable-text",
          "slider",
          "text",
          "toggle"
        ]
      }
    },
    {
      "name": "expo-router",
      "type": "navigation",
      "options": {
        "type": "drawer + tabs"
      }
    }
  ],
  "flags": {
    "noGit": true,
    "noInstall": true,
    "overwrite": false,
    "importAlias": true,
    "packageManager": "pnpm",
    "eas": false
  },
  "packageManager": {
    "type": "pnpm",
    "version": "8.15.6"
  },
  "os": {
    "type": "Linux",
    "platform": "linux",
    "arch": "x64",
    "kernelVersion": "6.10.3-arch1-1.1"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions