effect icon indicating copy to clipboard operation
effect copied to clipboard

`bunx create-effect-app@latest` doesn't generate any code

Open umstek opened this issue 2 months ago • 0 comments

What version of Effect is running?

latest

What steps can reproduce the bug?

  1. On Windows powershell, run bunx create-effect-app@latest or bun x create-effect-app@latest or bun create effect-app@latest
  2. Provide any answers
  3. Continue

What is the expected behavior?

The command should generate a starting point for a project like with the corresponding npx command

What do you see instead?

Bunch of empty folders created without any files in them

with npx

PS D:\src> npx create-effect-app@latest
√ What is your project named? ... effect-with-npx
√ What type of project would you like to create? ...  Template
√ What project template should be used? ...  Monorepo
√ Initialize project with Changesets? ... on / off
√ Initialize project with a Nix flake? ... on / off
√ Initialize project with ESLint? ... on / off
√ Initialize project with Effect's recommended GitHub actions? ... on / off
[create-effect-app]: Creating a new Effect project in D:\src\effect-with-npx
[create-effect-app]: Initializing project with template: monorepo
[create-effect-app]: Success! Effect template project was initialized in: D:\src\effect-with-npx
[create-effect-app]: Take a look at the template's README.md for more information
[create-effect-app]: Make sure to replace any <PLACEHOLDER> entries in the following files:
  - D:\src\effect-with-npx\.changeset\config.json
  - D:\src\effect-with-npx\packages\cli\package.json
  - D:\src\effect-with-npx\packages\domain\package.json
  - D:\src\effect-with-npx\packages\server\package.json
  - D:\src\effect-with-npx\packages\cli\LICENSE
  - D:\src\effect-with-npx\packages\domain\LICENSE
  - D:\src\effect-with-npx\packages\server\LICENSE

with bun

PS D:\src> bunx create-effect-app@latest
√ What is your project named? ... effect-with-bun
√ What type of project would you like to create? ...  Template
√ What project template should be used? ...  Monorepo
√ Initialize project with Changesets? ... on / off
√ Initialize project with a Nix flake? ... on / off
√ Initialize project with ESLint? ... on / off
√ Initialize project with Effect's recommended GitHub actions? ... on / off
[create-effect-app]: Creating a new Effect project in D:\src\effect-with-bun
[create-effect-app]: Initializing project with template: monorepo

Additional information

No response

umstek avatar Oct 26 '25 08:10 umstek