FATAL: The 'request' argument must be string. Received type undefined
See original GitHub issueI’m using nuxt with element-ui directly from the nuxt-create added the router-extras module to my nuxt config:
modules: [
"@nuxtjs/axios",
"@nuxtjs/pwa",
"@nuxtjs/router-extras"
[
"nuxt-i18n",
{
//i18n stuff
}
]
],
When I run yarn dev, I get FATAL The 'request' argument must be string. Received type undefined
and ✖ Nuxt Fatal Error. TypeError [ERR_INVALID_ARG_TYPE]: The 'request' argument must be string. Received type undefined
I’ve only done this so far, did I mess up something or it’s a bug?
I’m running nuxt 2.7.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to solve this error TypeError [ERR_INVALID_ARG_TYPE ...
How to solve this error TypeError [ERR_INVALID_ARG_TYPE]: The 'request' argument must be string. Received type undefined using nuxt.js.
Read more >Node.js v19.3.0 Documentation
If the error is of a different type, or if the error parameter is undefined, the error is propagated back to the caller....
Read more >the "path" argument must be of type string or an instance of buffer or ...
I'm trying to send an image file (converted into Uint8Array) to the server using post request. How do I read this image file...
Read more >How to solve this error TypeError [ERR_INVALID_ARG_TYPE]
[Solved]-How to solve this error TypeError [ERR_INVALID_ARG_TYPE]: The 'request' argument must be string. Received type undefined using nuxt.js-nuxt.js.
Read more >#Nuxt.js ERROR The “path” argument must be of type string ...
i missed config ( e.g see bellow, array in array ). “#Nuxt.js ERROR The “path” argument must be of type string. Received undefined”...
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 Free
Top 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
@fabricioanciaes Missing a comma
This error brought me here from google. Deleting
package-lock.json
, deleting thenode_modules
folder, and thennpm install
fixed it for me. This was during a migration from nuxt 2.8 to 2.10.