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

Project Not working, failing on yarn run dev #3

Open
suprith-s-reddy opened this issue Nov 1, 2024 · 0 comments
Open

Project Not working, failing on yarn run dev #3

suprith-s-reddy opened this issue Nov 1, 2024 · 0 comments

Comments

@suprith-s-reddy
Copy link

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?

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