I'm not using Typescript in my app and that seems to cause this codemod to fail.
npx ember-vite-codemod@latest --skip-v2-addon
πΉ Moving seshy to Vite
β Checking Git status
β Checking modulePrefix
β Checking for unsupported dependencies
Skipping file '.env.development' since it already exists.
β Creating new required files...
β Moving index.html
β ENOENT: no such file or directory, open 'tsconfig.json'
node:internal/fs/promises:640
return new FileHandle(await PromisePrototypeThen(
^
Error: ENOENT: no such file or directory, open 'tsconfig.json'
at async open (node:internal/fs/promises:640:25)
at async readFile (node:internal/fs/promises:1290:14)
at async transformWithReplace (file:///Users/jgreen/.npm/_npx/c290a1b5fd4ffffc/node_modules/ember-vite-codemod/lib/tasks/transform-files.js:86:14)
at async modifyFiles (file:///Users/jgreen/.npm/_npx/c290a1b5fd4ffffc/node_modules/ember-vite-codemod/lib/tasks/transform-files.js:52:7)
at async run (file:///Users/jgreen/.npm/_npx/c290a1b5fd4ffffc/node_modules/ember-vite-codemod/lib/utils/run.js:17:5)
at async file:///Users/jgreen/.npm/_npx/c290a1b5fd4ffffc/node_modules/ember-vite-codemod/index.js:110:3 {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'tsconfig.json'
}
Node.js v24.18.0
The docs that that it should default to NOT looking for Typescript files unless I specify the --ts flag, but that doesn't seem to be the case.
I'm not using Typescript in my app and that seems to cause this codemod to fail.
The docs that that it should default to NOT looking for Typescript files unless I specify the
--tsflag, but that doesn't seem to be the case.