TypeError: The "path" must be of type string or an instance of Buffer or URL.
Unanswered
Brown bear posted this in #help-forum
Brown bearOP
I recently started using nextjs using the provided suite to bootstrap and quick start my project. When running it in dev mode these errors appear:
Which is odd because otherwise everything seems to be running normally and my pages render and load...
[TypeError: The "path" argument must be of type string or an instance of Buffer or URL. Received an instance of URL] {
code: 'ERR_INVALID_ARG_TYPE',
digest: '1842254309'
}
GET /builder?pageNumber=8 500 in 732ms
Which is odd because otherwise everything seems to be running normally and my pages render and load...
3 Replies
Boreal Owl
you need to ensure that the URL you are using is in a string format
Brown bearOP
I don't see how it couldn't be? Can you expand on that? I am hitting the url by just typing the url in my borwser adress bar...
Inexplicaply, the error has disappeared entirely for me... odd.