-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
failed to resolve "extends":"./.nuxt/tsconfig.json" #25433
Comments
@manniL Please add {
"scripts": {
"prepare": "nuxt prepare"
}
} Then re-execute the This is what triggers the generation of Of course I think we can do better in that scene. |
but when i delete error.vue this error disappeared and this error will not occur when using nuxt3.8.2. I don’t think run prepare everywhere is an elegant way to handle it. |
Yeah, that's what I thought. Maybe there is a better way, looking forward to other people's solutions |
I'm facing the same issue out of the sudden despite running prepare before. It happens with this component because of the script tag
When I remove the script it works. In fact, it even works if I keep the script tag and just remove the content
The Edit: analyzed it further. The issue is caused by using Are we not supposed to explicitly use the lang attribute anymore and could we get a better error message if so? |
This is also happening to me if I just try to run nuxt prepare.... Have not had time to investigate if the script tag is the issue. |
Environment
Reproduction
demo
Describe the bug
layer have tsconfig:
when i have error.vue file in layer, will show error:
![image](https://private-user-images.githubusercontent.com/9149999/299613671-85471807-b790-49c7-86b1-fbd6efa8a3b8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxMjkwMjMsIm5iZiI6MTcyMDEyODcyMywicGF0aCI6Ii85MTQ5OTk5LzI5OTYxMzY3MS04NTQ3MTgwNy1iNzkwLTQ5YzctODZiMS1mYmQ2ZWZhOGEzYjgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcwNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MDRUMjEzMjAzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTFjMTk0ZWVkZTQ3YTM0NWQ4NjA1MjBmZjQ3Y2UxN2U1YzlhNjI0MmI1MjQwNTU5MDJjZDQ5ZjU2ODUyZDg1MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.LljARPxN7OXbpSPafwlhVtGM2iKS66jRpEPoU2l5b1k)
Additional context
Original discussion here: #13367 (comment)
Logs
No response
The text was updated successfully, but these errors were encountered: