Mawla / Agency-Starter-Framework

GNU Affero General Public License v3.0
51 stars 19 forks source link

Project Not working, failing on yarn run dev #3

Open suprith-s-reddy opened 2 weeks ago

suprith-s-reddy commented 2 weeks ago

This has an issue, it doesnt even run. After the following commands I got this error.

-yarn install
-yarn run dev
        reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
                   ^
FetchError: request to https://.api.sanity.io/v2021-03-25/data/query/development?query=%0A%20%20*%5B_id%20%3D%3D%20%22config_general%22%5D%5B0%5D%20%7B%0A%20%20%20%20languages%5B%5D%20%7B%20id%2C%20title%20%7D%0A%20%20%7D.languages failed, reason: getaddrinfo ENOTFOUND .api.sanity.io
    at ClientRequest.<anonymous> (/Users/suprith/Documents/development/projects/other/Agency-Starter-Framework/node_modules/node-fetch/lib/index.js:1501:11)
    at ClientRequest.emit (node:events:520:28)
    at TLSSocket.socketErrorListener (node:_http_client:502:9)
    at TLSSocket.emit (node:events:520:28)
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ENOTFOUND',
  code: 'ENOTFOUND'
}

Node.js v22.2.0

I think the api url has to be updated or not sure why. How this be run?