Cannot read property 'req' of undefined
See original GitHub issueSeems to happen at setActiveReq(context.ssrContext.req);
"nuxt": "^2.11.0",
"nuxt-composition-api": "^0.9.0",
"@vue/composition-api": "^0.6.1",
"pinia": "0.0.6",
universal mode
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Express.js Cannot read property 'req' of undefined
My Express. js app has been throwing Cannot read property 'req' of undefined . In essence, it listens for a GET request, grab...
Read more >Cannot read property req body undefined in express - YouTube
codercrab #express #body-parserCannot read property req body undefined in express ||Express req body is undefined for post requests.
Read more >TypeError: Cannot read property 'req' of undefined · Issue #711
Error that I described is happening only client-side, so I am guessing that it caused by destroyed component. All reactions.
Read more >getting "TypeError: Cannot read property 'quote' of undefined ...
getting "TypeError: Cannot read property 'quote' of undefined" The terminal shows the error at app.js 22:23. const express = require('express'); ...
Read more >Javascript – Express.js Cannot read property 'req' of undefined
My Express.js app has been throwing Cannot read property 'req' of undefined . In essence, it listens for a GET request, grab the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It was intended for you, not the users… 😄
However, I was mistaken on the cause; it’s not one of the packages overwriting the other’s setup function. I’ve submitted a PR.
@posva I’ve now exposed a
onGlobalSetup
hook that could work for Nuxt users like:Let me know if there is anything else I can do from the
nuxt-composition-api
end.