glint
glint copied to clipboard
auto-glint-nocheck script fails because it could not find a source file
When I follow the sample usage as documented here, I get an error:
% npx -p @glint/scripts auto-glint-nocheck '{app,tests}/**/*.{ts,hbs,gts}'
⠙ Checking app/app.ts...Could not find source file: '~code/my-app/app/application-error/template.ts'.
The process exits without making any changes.
It's true that there is no app/application-error/template.ts
file in my application. I do have the following files:
-
app/application-error/template.hbs
-
app/application-loading/template.hbs
My application uses the --pods
layout. I wonder if that's why the script is breaking?
We've used Glint (and the auto-glint-nocheck
script) with a variety of pods-based apps, so I don't think that should be the issue here.
Are you able to share a project that demonstrates the issue? Either if your app is open source, or a small reproduction in a fresh repo that fails with the same error, would be super helpful for tracking down what's going wrong here.