Describe the bug
If you run npm create vite@latest and select Marko, it fails saying that the folder already exists:
✖ Project path already exists '/home/lost/playground/other/framework-test/marko_'
Error: Project path already exists '/home/lost/playground/other/framework-test/marko_'
at assertAllGood (/home/lost/.npm/_npx/9847185164d43527/node_modules/@marko/create/dist/index.js:113:11)
at async create (/home/lost/.npm/_npx/9847185164d43527/node_modules/@marko/create/dist/index.js:51:3)
at async run (/home/lost/.npm/_npx/9847185164d43527/node_modules/@marko/create/dist/cli.js:151:9)
The result is an empty folder. I assume vite is creating a folder before running the Marko Run tool.
Steps to reproduce
- Run
npm create vite@latest.
- Select Marko
- Select Marko Run
- Continue through the options until the last one and select the Default Starter App template.
System Info
System:
OS: Linux 6.17 Arch Linux
CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics
Memory: 24.60 GB / 30.72 GB
Container: Yes
Shell: 5.3.8 - /bin/bash
Binaries:
Node: 23.9.0 - /run/user/1000/fnm_multishells/176235_1767149654966/bin/node
Yarn: 1.22.22 - /usr/bin/yarn
npm: 11.3.0 - /run/user/1000/fnm_multishells/176235_1767149654966/bin/npm
Deno: 2.1.1 - /home/lost/.deno/bin/deno
Browsers:
Chromium: 143.0.7499.109
Firefox: 146.0
Firefox Developer Edition: 146.0
Used Package Manager
npm
Logs
No response
Validations
Describe the bug
If you run
npm create vite@latestand select Marko, it fails saying that the folder already exists:The result is an empty folder. I assume vite is creating a folder before running the Marko Run tool.
Steps to reproduce
npm create vite@latest.System Info
System: OS: Linux 6.17 Arch Linux CPU: (12) x64 AMD Ryzen 5 5600G with Radeon Graphics Memory: 24.60 GB / 30.72 GB Container: Yes Shell: 5.3.8 - /bin/bash Binaries: Node: 23.9.0 - /run/user/1000/fnm_multishells/176235_1767149654966/bin/node Yarn: 1.22.22 - /usr/bin/yarn npm: 11.3.0 - /run/user/1000/fnm_multishells/176235_1767149654966/bin/npm Deno: 2.1.1 - /home/lost/.deno/bin/deno Browsers: Chromium: 143.0.7499.109 Firefox: 146.0 Firefox Developer Edition: 146.0Used Package Manager
npm
Logs
No response
Validations