Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New @server app dependencies install error (ambiguous syntax error) #1215

Open
joeyfigaro opened this issue Jun 26, 2021 · 0 comments
Open

Comments

@joeyfigaro
Copy link

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:

  1. mkdir repro-project && cd repro-project && yarn init -y
  2. yarn set version berry
  3. yarn create apollo-app my-app
  4. Choose @server template
  5. See error

Expected behavior
Install uses the appropriate set of flags based on current package manager being used.

Screenshots
Screen Shot 2021-06-26 at 10 56 53 AM

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.

@joeyfigaro 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant