web3index / web3index-org

https://web3index.org
82 stars 34 forks source link

TypeError: Only absolute URLs are supported #71

Open rexsaurus opened 2 years ago

rexsaurus commented 2 years ago

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)