-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Component Template errors after running #8786
Comments
The error in your message isn't a runtime error, it's because Stackblitz does not run our tooling and so cannot get the types from |
Yes, exact same error when working locally inside Visual Studio Code |
It seems to also be the case for starlight: @Princesseuh would the fix for this be on the language tools side, or is there a |
Hmm, the best way would be to add |
|
So I was following the guide here as to how to create a component to publish to NPMJS: https://docs.astro.build/en/reference/publish-to-npm/
(Apart from the guide been a bit confusing) one of the first steps mentions to run:
After doing this and opening the index.ts file an error shows in
'./src/MyComponent.astro'
that says:Here is an stackblitz illustrating the problem: https://stackblitz.com/edit/github-gg5qiw?file=my-new-component-directory%2Findex.ts
The text was updated successfully, but these errors were encountered: