apollo-universal-starter-kit
apollo-universal-starter-kit copied to clipboard
New @server app dependencies install error (ambiguous syntax error)
Describe the bug Creating a new application using the @server template fails to take current package manager/version into account before trying to install dependencies.
? Choose template @server: TypeScript, Apollo (GraphQL), Express server
Ambiguous Syntax Error: Cannot find who to pick amongst the following alternatives:
0. yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--skip-builds]
1. yarn install [--json] [--immutable] [--immutable-cache] [--check-cache] [--inline-builds] [--skip-builds]
To Reproduce Steps to reproduce the behavior:
-
mkdir repro-project && cd repro-project && yarn init -y
-
yarn set version berry
-
yarn create apollo-app my-app
- Choose @server template
- See error
Expected behavior Install uses the appropriate set of flags based on current package manager being used.
Screenshots
Desktop (please complete the following information):
- OS: Mac OS 11.2.3
- Browser: Brave
- Version:
Not sure what version we're talking about here
Smartphone (please complete the following information):
- Device:
N/A
- OS:
N/A
- Browser:
N/A
- Version:
N/A
Additional context Hopefully unnecessary.