"[Errno 2] No such file or directory" when running any query.
See original GitHub issueI’m very new to EdgeDB so I hope I’m providing all the info you need for this issue.
My implementation was working at first and suddenly I started getting this issue whenever I run an EdgeDB query:
InternalServerError: [Errno 2] No such file or directory
at RawConnection._parseErrorMessage (/Users/lits/Dev/feather-fastify/node_modules/edgedb/dist/baseConn.js:280:21)
at RawConnection._executeFlow (/Users/lits/Dev/feather-fastify/node_modules/edgedb/dist/baseConn.js:587:34)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async RawConnection.fetch (/Users/lits/Dev/feather-fastify/node_modules/edgedb/dist/baseConn.js:716:17)
at async ClientConnectionHolder.retryingFetch (/Users/lits/Dev/feather-fastify/node_modules/edgedb/dist/client.js:178:26)
at async Client.query (/Users/lits/Dev/feather-fastify/node_modules/edgedb/dist/client.js:468:20)
at async exports.default (/Users/lits/Dev/feather-fastify/src/initialize.ts:9:18) {
source: undefined
}
I’m running it like this:
import { createClient } from 'edgedb';
const db = createClient();
const result = await db.query('select "Hello world";');
console.log(result);
The version of edgedb in my package.json
is:
"edgedb": "^0.20.9"
You can check out the project for the backend I’m getting this issue on here.
Any ideas you have on how to fix this would be really appreciated, thank you in advance!
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
open() gives FileNotFoundError/IOError: Errno 2 No such file ...
When trying to create a new file using a file mode like w , the path to the new file still needs to...
Read more >How to fix FileNotFoundError Errno 2 no such file or directory
The error FileNotFoundError Errno 2 no such file or directory occurs when Python cannot find the specified file in the current directory.
Read more >FileNotFoundError: [Errno 2] No such file or directory
When you open a file with the name "filename.ext"; you are telling the open() function that your file is in the current working...
Read more >FileNotFoundError: [Errno 2] No such file or directory: 'bq' #27
Whenever example command logica primes.l run Prime is executed, error is produced: FileNotFoundError: [Errno 2] No such file or directory: ...
Read more >FileNotFoundError: [Errno 2] No such file or directory: - YouTube
Hello everyone, today's video is a short one on an error that I got during my last project. I have been short on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Try
edgedb instance restart $(edgedb project info --instance-name)
That fixed it thank you!