t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.63k stars 393 forks source link

bug: pnpm dev run error #163

Closed shawnlikescode closed 1 year ago

shawnlikescode commented 1 year ago

Provide environment information

I ran pnpm dev to install packages but I keep getting this error

npx envinfo --system --binaries

  System:
    OS: macOS 12.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 103.63 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.1/bin/yarn
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm

Is anyone familiar with this error?

Describe the bug


> t3-turbo-and-clerk@ dev /Users/shawn/dev/hc_turborepo
> turbo dev --parallel

╭──────────────────────────────────────────────────────────────────────╮
│                                                                      │
│                   Update available v1.7.0 ≫ v1.7.4                   │
│    Changelog: https://github.com/vercel/turbo/releases/tag/v1.7.4    │
│                     Run "npm i turbo" to update                      │
│                                                                      │
│     Follow @turborepo for updates: https://twitter.com/turborepo     │
╰──────────────────────────────────────────────────────────────────────╯
• Packages in scope: @acme/api, @acme/db, @acme/expo, @acme/nextjs, @acme/tailwind-config
• Running dev in 5 packages
• Remote caching disabled
@acme/expo:dev: cache bypass, force executing 3f96bf1cd4ed650e
@acme/nextjs:dev: cache bypass, force executing 154f4fdf93b3fde1
@acme/db:dev: cache bypass, force executing 78a9aa38400ffff4
@acme/db:dev:
@acme/db:dev: > @acme/db@0.1.0 dev /Users/shawn/dev/hc_turborepo/packages/db
@acme/db:dev: > pnpm with-env prisma studio --port 5556
@acme/db:dev:
@acme/expo:dev:
@acme/expo:dev: > @acme/expo@0.1.0 dev /Users/shawn/dev/hc_turborepo/apps/expo
@acme/expo:dev: > expo start --ios
@acme/expo:dev:
@acme/nextjs:dev:
@acme/nextjs:dev: > @acme/nextjs@0.1.0 dev /Users/shawn/dev/hc_turborepo/apps/nextjs
@acme/nextjs:dev: > pnpm with-env next dev
@acme/nextjs:dev:
@acme/nextjs:dev:
@acme/nextjs:dev: > @acme/nextjs@0.1.0 with-env /Users/shawn/dev/hc_turborepo/apps/nextjs
@acme/nextjs:dev: > dotenv -e ../../.env -- "next" "dev"
@acme/nextjs:dev:
@acme/db:dev:
@acme/db:dev: > @acme/db@0.1.0 with-env /Users/shawn/dev/hc_turborepo/packages/db
@acme/db:dev: > dotenv -e ../../.env -- "prisma" "studio" "--port" "5556"
@acme/db:dev:
@acme/expo:dev: Starting project at /Users/shawn/dev/hc_turborepo/apps/expo
@acme/nextjs:dev: ready - started server on 0.0.0.0:3000, url: http://localhost:3000
@acme/nextjs:dev: warn  - You have enabled experimental feature (transpilePackages) in next.config.mjs.
@acme/nextjs:dev: warn  - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
@acme/nextjs:dev:
@acme/db:dev: Prisma schema loaded from prisma/schema.prisma
@acme/db:dev: Prisma Studio is up on http://localhost:5556
@acme/expo:dev: Starting Metro Bundler
@acme/expo:dev: › Opening exp://192.168.1.156:19000 on iPhone 8
@acme/expo:dev: CommandError: Input is required, but 'npx expo' is in non-interactive mode.
@acme/expo:dev: Required input:
@acme/expo:dev: > Expo Go on iPhone 8 is outdated, would you like to upgrade?
@acme/expo:dev:  ELIFECYCLE  Command failed with exit code 1.
@acme/expo:dev: ERROR: command finished with error: command (/Users/shawn/dev/hc_turborepo/apps/expo) pnpm run dev exited (1)
@acme/nextjs:dev:  ELIFECYCLE  Command failed.
@acme/db:dev:  ELIFECYCLE  Command failed.
@acme/db:dev:  WARN   Local package.json exists, but node_modules missing, did you mean to install?
@acme/nextjs:dev:  ELIFECYCLE  Command failed.
@acme/db:dev:  ELIFECYCLE  Command failed.
@acme/db:dev:  WARN   Local package.json exists, but node_modules missing, did you mean to install?
command (/Users/shawn/dev/hc_turborepo/apps/expo) pnpm run dev exited (1)

 Tasks:    0 successful, 1 total
Cached:    0 cached, 1 total
  Time:    2.749s

 ERROR  run failed: command  exited (1)
 ELIFECYCLE  Command failed with exit code 1.

Link to reproduction

https://github.com/t3-oss/create-t3-app

To reproduce

follow getting started

Additional information

No response

PiotrekPKP commented 1 year ago

Have you run pnpm i?

shawnlikescode commented 1 year ago

Yes. Followed the getting started.

On Thu, Feb 9, 2023 at 1:51 AM Piotr @.***> wrote:

Have you run pnpm i?

— Reply to this email directly, view it on GitHub https://github.com/t3-oss/create-t3-turbo/issues/163#issuecomment-1423770777, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNXUCS7LGVL4MVFZ3N6XZ3WWSOWJANCNFSM6AAAAAAUWDDYMA . You are receiving this because you authored the thread.Message ID: @.***>

juliusmarminge commented 1 year ago

Like it says in the errror, your simulator is out of date. Run pnpm --filter expo dev sepretely once and update it

shawnlikescode commented 1 year ago

Like it says in the errror, your simulator is out of date. Run pnpm --filter expo dev sepretely once and update it

Thanks for that command. Problem solved.