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.58k stars 85 forks source link

Initializing with pnpm does not work with NativeWindUI #393

Closed danstepanov closed 2 months ago

danstepanov commented 3 months ago

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

Expected Behavior

No errors during CLI process

Current Behavior

Screenshot 2024-08-19 at 6 39 04 PM

Possible Solution

Something pertaining to authorization?

Steps to Reproduce

pnpm --version: 9.6.0

  1. npx create-expo-stack@latest --nativewindui --pnpm

CES Config File

{
  "cesVersion": "2.11.17",
  "projectName": "my-pnpm-app",
  "packages": [
    {
      "name": "nativewindui",
      "type": "styling",
      "options": {
        "selectedComponents": [
          "action-sheet",
          "activity-indicator",
          "activity-view",
          "avatar",
          "bottom-sheet",
          "date-picker",
          "picker",
          "progress-indicator",
          "ratings-indicator",
          "slider",
          "text",
          "toggle"
        ]
      }
    },
    {
      "name": "expo-router",
      "type": "navigation",
      "options": {
        "type": "stack"
      }
    }
  ],
  "flags": {
    "noGit": false,
    "noInstall": false,
    "overwrite": false,
    "importAlias": true,
    "packageManager": "pnpm",
    "eas": false
  },
  "packageManager": {
    "type": "pnpm",
    "version": "9.6.0"
  },
  "os": {
    "type": "Darwin",
    "platform": "darwin",
    "arch": "arm64",
    "kernelVersion": "23.6.0"
  }
}
dannyhw commented 3 months ago

Looks like the --yes is getting added to the npm registry somehow? Weird. Maybe its from the pnpm dlx command with --yes

danstepanov commented 2 months ago

resolved