You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
The text was updated successfully, but these errors were encountered:
joeyfigaro
changed the title
New @server app fails to install dependencies with yarn berry
New @server app dependencies install error (ambiguous syntax error)
Jun 26, 2021
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
Expected behavior
Install uses the appropriate set of flags based on current package manager being used.
Screenshots
Desktop (please complete the following information):
Not sure what version we're talking about here
Smartphone (please complete the following information):
N/A
N/A
N/A
N/A
Additional context
Hopefully unnecessary.
The text was updated successfully, but these errors were encountered: