-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Error no such file or directory - debug.json #172
Comments
Line 341 in 6c8936d
Maybe it should be debug.json.mjs here?
|
Ah, no, it's most likely related to nitro v2.9.2 including this PR: nitrojs/nitro#2229 |
Ok looks like it indeed is nitro problem. WORKAROUND AS BELOWAdd one of the below to "resolutions": {
"nitropack": "2.9.1"
} OR "overrides": {
"nitropack": "2.9.1"
} Next, run |
where did you add this, can you explain ? @modbender |
relax a bit please
without updating nitropack this issue should not occur As you can see people are working on fixing that issue, please upvote the issue by giving it a 👍 instead of commenting without further information 🙏
To the |
@CODE-BR3AKER add it to Example from my project
|
You have to add it to package.json and run install |
Call it (@harlan-zw please mark those comments as offtopic) |
Here's the Nuxt issue: nuxt/nuxt#26168 |
This comment was marked as spam.
This comment was marked as spam.
Again, please upvote the issue by giving it a 👍 instead of commenting without further information 🙏 |
This comment was marked as spam.
This comment was marked as spam.
There no need to have this issue in a personal project, a workaround has been provided above. @danielroe if I may ask for some moderation on the comments above at your discretion? Thanks 🙌 |
Regression re json should be fixed in latest nitro release (nitrojs/nitro#2239) |
Just till recently (less than a week ago) I had no problem using
@nuxtjs/seo
, but suddenly using the package gives me error:Environment:
WSL Ubuntu (Windows 11)
Error
Error when using yarn:
Error when using pnpm:
Reproduction steps
npx nuxi@latest init <project-name>
pnpm add -D @nuxtjs/seo
and add it tomodules
pnpm dev
.What's in the installation
I went ahead and checked the installation path of nuxt-og-image, and indeed it seems like there's no debug.json, I don't know if .d.ts and .mjs gets resolved into debug.json though
Things I have tried
I have tried switching from
pnpm
toyarn
.I have tried previous versions of
nuxt
,vue
,vue-router
I have tried previous versions:
I have also tried some old versions of
nuxt-og-image
. I know the current version is"nuxt-og-image": "3.0.0-rc.42"
and I have tried till
rc.37
, which was part of a different project that WAS working perfectly fine...I have also seen a similar issue and tried steps from it
At the end this might be an issue related to this project or not, but hoping I get some help.
The text was updated successfully, but these errors were encountered: