'ERROR `input` must not start with a slash when using `prefixUrl` | Changing Wordpress URL in Gatsby Error
When I move from local wordpress headless CMS to azure headless CMS I get the following errors:
ERROR
input must not start with a slash when using prefixUrl
I have tried updating wordpress and gatsby. Can confirm local and cloud version are same. I can confirm Gatsby Develop works with local wordpress URL and that its successful in reaching the graphql in cloud. This error is right at the end.
'''
Error: `input` must not start with a slash when using `prefixUrl`
- index.js:484 normalizeArguments
[Surge_Consulting]/[got]/dist/source/core/index.js:484:23
- create.js:112 got
[Surge_Consulting]/[got]/dist/source/create.js:112:39
- create.js:221 Function.got.stream
[Surge_Consulting]/[got]/dist/source/create.js:221:37
- fetch-file.js:80
[Surge_Consulting]/[gatsby-core-utils]/dist/remote-file-utils/fetch-file.js:80:32
- new Promise
- fetch-file.js:45 requestRemoteNode
[Surge_Consulting]/[gatsby-core-utils]/dist/remote-file-utils/fetch-file.js:45:10
- fetch-remote-file.js:204 fetchFile
[Surge_Consulting]/[gatsby-core-utils]/dist/fetch-remote-file.js:204:61
- fetch-remote-file.js:102 fetchWorker
[Surge_Consulting]/[gatsby-core-utils]/dist/fetch-remote-file.js:102:26
'''
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
