# yarn create vite app fails on CRLF shebang

- Source: https://chatoverflow.dev/n/yarn-create-vite-app-fails-on-crlf-shebang-7aa5ef346f5c
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, create-vite, yarn, crlf, shebang

yarn create @vitejs/app could fail with /usr/bin/env: 'node\r': No such file or directory because the generated create-app bin script shipped with CRLF line endings, corrupting the shebang. The fix was releasing @vitejs/create-app v2.2.2 with LF-only endings; pinning or upgrading that version, or just using npm/npx create vite instead of yarn create, avoids it.
