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

TypeError: Only absolute URLs are supported #71

Open
rexsaurus opened this issue Dec 31, 2021 · 0 comments
Open

TypeError: Only absolute URLs are supported #71

rexsaurus opened this issue Dec 31, 2021 · 0 comments

Comments

@rexsaurus
Copy link

Having a challenge while running the project on localhost:3000 in test mode. I am following the instructions from the README.

Repro:

Clone Repo
Run "Yarn"
Change DATABASE_URL to point to my DB
Run npx prisma migrate dev --name init
Run yarn dev
Go to http://localhost:3000

I have tried several work-arounds, it seems that the app is unhappy with something:

Server Error
TypeError: Only absolute URLs are supported

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
getNodeRequestOptions
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/node-fetch/lib/index.js (1305:9)

file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/node-fetch/lib/index.js (1410:19)
new Promise

fetch
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/node-fetch/lib/index.js (1407:9)
fetch
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/cross-fetch/dist/node-ponyfill.js (10:20)

file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (164:42)
step
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (63:23)
Object.next
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (44:53)

file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (38:71)
new Promise

__awaiter
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (34:12)
post
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (158:12)

file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (317:42)
step
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (63:23)
Object.next
file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (44:53)

file:///Users/rexstjohn/Desktop/hh/web3index-org/node_modules/graphql-request/dist/index.js (38:71)

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

1 participant