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.27k stars 350 forks source link

bug: Can't pass postinstall in Vercel #1048

Closed vadimshvetsov closed 1 month ago

vadimshvetsov commented 1 month ago

Provide environment information

System: OS: macOS 14.4.1 CPU: (8) arm64 Apple M1 Memory: 387.28 MB / 16.00 GB Shell: 5.9 - /opt/homebrew/bin/zsh Binaries: Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm pnpm: 9.1.0 - ~/.pnpm/store/pnpm

Root package.json:

  "packageManager": "pnpm@9.1.0",

Describe the bug

Can't deploy to turbo vercel nextjs app. All the time I'm receiving postinstall script failure:

../.. postinstall:  ERR_PNPM_BAD_PM_VERSION  This project is configured to use v9.1.0 of pnpm. Your current pnpm is v9.0.4
22:08:04.739 | ../.. postinstall: If you want to bypass this version check, you can set the "package-manager-strict" configuration to "false" or set the "COREPACK_ENABLE_STRICT" environment variable to "0"
22:08:04.749 | ../.. postinstall: Failed
22:08:04.750 | ELIFECYCLE  Command failed with exit code 1.
22:08:04.825 | Error: Command "pnpm install" exited with 1
22:08:05.399

Link to reproduction

Just clone this repo and try to deploy to vercel

To reproduce

Additional information

No response

vadimshvetsov commented 1 month ago

I'm not sure it's an actual bug with template but I expect to deploy successfully after clone and setting some env and before the first code change. Lets close this for now and follow https://github.com/pnpm/pnpm/issues/8087 instead.