Skip to content
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

0.5.4 problems with nuxt3 #83

Closed
andysay opened this issue Apr 4, 2022 · 4 comments
Closed

0.5.4 problems with nuxt3 #83

andysay opened this issue Apr 4, 2022 · 4 comments

Comments

@andysay
Copy link

andysay commented Apr 4, 2022

/.output/server/chunks/nitro/server.mjs:69
const hasReqHeader = (req, header, includes) => req.headers[header] && req.headers[header].toLowerCase().includes(includes);
^

TypeError: Cannot read properties of undefined (reading 'accept')
at hasReqHeader (file:///home/garant/admin/.output/server/chunks/nitro/server.mjs:69:60)
at Object.handleError [as onError] (file:///home/garant/admin/.output/server/chunks/nitro/server.mjs:71:25)
at nodeHandler (file:///home/garant/admin/.output/server/node_modules/h3/dist/index.mjs:319:23)

@pi0
Copy link
Member

pi0 commented Apr 4, 2022

Do you mind to share a reproduction and open issue in Nuxt 3 repository instead?

@andysay
Copy link
Author

andysay commented Apr 4, 2022

Do you mind to share a reproduction and open issue in Nuxt 3 repository instead?

i'm try find where is it. but another versions like 0.3.2 works fine.

@hajime9652
Copy link

@andysay I had a same error with wrong version of h3 in package.json

@pi0
Copy link
Member

pi0 commented May 4, 2022

Closing since there is no reproduction. I hope recreating lockfile makes issue go away.

@pi0 pi0 closed this as completed May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants