roninoss / create-expo-stack

CLI tool to initialize a React Native application with Expo. Provides options to include Typescript, file-based routing via Expo Router, configuration based routing via pure React Navigation, styling via Nativewind, Restyle, Unistyles, StyleSheets, or Tamagui, and/or backend as a service such as Firebase and Supabase.
https://rn.new
MIT License
1.37k stars 77 forks source link

`eas build:configure -p all` fails when creating a new project #372

Closed lyt3ral closed 1 month ago

lyt3ral commented 1 month ago

Expected Behavior

eas build:configure -p all should run after expo-dev-launcher has been installed

Current Behavior

eas build:configure -p all tries to execute but fails with the following error:

Failed to resolve plugin for module "expo-dev-launcher" relative to "" Error: build:configure command failed. Error configuring EAS: {"stdout":null,"status":1,"error":null} failed to run command: cd && eas build:configure -p all

Steps to Reproduce

  1. run npx create-expo-stack@latest --nativewindui --tabs --pnpm --eas
  2. it produces the error mentioned earlier

CES Config File

{
  "cesVersion": "2.11.13",
  "projectName": "projectname",
  "packages": [
    {
      "name": "expo-router",
      "type": "navigation",
      "options": {
        "type": "tabs"
      }
    },
    {
      "name": "nativewindui",
      "type": "styling",
      "options": {
        "selectedComponents": [
          "activity-indicator",
          "activity-view",
          "avatar",
          "bottom-sheet",
          "date-picker",
          "picker",
          "progress-indicator",
          "ratings-indicator",
          "selectable-text",
          "slider",
          "text",
          "toggle",
          "action-sheet"
        ]
      }
    }
  ],
  "flags": {
    "noGit": false,
    "noInstall": false,
    "overwrite": false,
    "importAlias": true,
    "packageManager": "pnpm",
    "eas": true
  },
  "packageManager": {
    "type": "pnpm",
    "version": "9.1.2"
  },
  "os": {
    "type": "Linux",
    "platform": "linux",
    "arch": "x64",
    "kernelVersion": "6.5.0-28-generic"
  }
}
dannyhw commented 1 month ago

Weird, thanks for letting us know. Will take a look.

dannyhw commented 1 month ago

This seems to be specific to how pnpm handles peer dependencies since this actually works with bun for example. Should have a fix soon.

dannyhw commented 1 month ago

@lyt3ral will be fixed by this PR https://github.com/roninoss/create-expo-stack/pull/373

Thanks for reporting 🙏

lyt3ral commented 1 month ago

thanks for looking into this 🙏🏼

danstepanov commented 1 month ago

thanks @dannyhw!