-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
What version of Turbrepo are you using?
Latest via npx
Describe the Bug
The template used by the turbo CLI does not respect the NPM choice when using npx create-turbo@latest
. The commands in the package.json are yarn commands. This would work if you had Yarn installed but is unusable if you do not use Yarn. More so, if you choose NPM as your package manager, this file should respect that and also use NPM.
Here is a screenshot of the console and the package.json file it generated:
Expected Behavior
The package.json file should be using whatever package manager you choose during the prompts from the CLI.
To Reproduce
- Create a new repo via
npx create-turbo@latest
- Select NPM as the package manager option
- Wait for the project to be created and follow the prompts for development
- You should see an error stating
sh: yarn: command not found
if you do not have yarn installed.
Metadata
Metadata
Assignees
Labels
No labels