Home > Blockchain >  TypeError: Invalid value "undefined" for header "store-key"
TypeError: Invalid value "undefined" for header "store-key"

Time:10-09

Can anyone can tell me how can i fix this error i got a open source project from github and when i run it its showing this error and project is written in typescript TypeError: Invalid value "undefined" for header "store-key"

Server Error
TypeError: Invalid value "undefined" for header "store-key"

This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
ClientRequest.setHeader
node:_http_outgoing (606:3)
new ClientRequest
node:_http_client (275:14)
Object.request
node:https (357:10)
RedirectableRequest._performRequest
file:///C:/Users/Nilay/Downloads/saaremaa-storefront-master/saaremaa-storefront-master/node_modules/follow-redirects/index.js (279:24)
new RedirectableRequest
file:///C:/Users/Nilay/Downloads/saaremaa-storefront-master/saaremaa-storefront-master/node_modules/follow-redirects/index.js (61:8)
Object.request
file:///C:/Users/Nilay/Downloads/saaremaa-storefront-master/saaremaa-storefront-master/node_modules/follow-redirects/index.js (511:14)
dispatchHttpRequest
file:///C:/Users/Nilay/Downloads/saaremaa-storefront-master/saaremaa-storefront-master/node_modules/axios/lib/adapters/http.js (262:25)
new Promise
<anonymous>
httpAdapter
file:///C:/Users/Nilay/Downloads/saaremaa-storefront-master/saaremaa-storefront-master/node_modules/axios/lib/adapters/http.js (49:10)
dispatchRequest
file:///C:/Users/Nilay/Downloads/saaremaa-storefront-master/saaremaa-storefront-master/node_modules/axios/lib/core/dispatchRequest.js (58:10)

CodePudding user response:

You probably need to do a few settings before executing, like creating db etc. Could you share the details of the Open Source project?

  • Related