-
Notifications
You must be signed in to change notification settings - Fork 37
"Not a directory" error on GitHub Actions / Homebrew #288
Comments
Hello @karlhorky ! The issue is that the database path should not be a SQLite file. sqld creates and manages its own directory; you can't just open a SQLite file with sqld. We are working on making it possible to load a SQLite dump into sqld. This will be released with the next version of sqld released this week :) |
Ohh understood! I didn't get that from this first Getting Started example in the readme at a first glance -
|
I'll make sure to pass in a directory path as an argument to |
Or maybe I misunderstood what you said above - maybe it is indeed a path to a file, but maybe that file should not exist beforehand... I'll try both ways. |
Did a new commit, here's the updated file + workflow run - I specified
The
|
Now we're on to another error, but this time it's on the side of PostgreSQL / Postgres.js 🤔
The file: https://github.com/karlhorky/postgres-js-sqld/blob/main/index.ts import postgres from 'postgres';
const sql = postgres({ host: '127.0.0.1' }); |
@karlhorky cool! This is another error, i'm creating a new issue for it |
and closing this one |
Hi there, first of all, thanks for
sqld
, really cool idea!I wanted to try this out on GitHub Actions CI on a Ubuntu runner and I ran into this error after installing via Homebrew:
chinook.db
should also be there: https://github.com/karlhorky/postgres-js-sqld/blob/main/chinook.db - sample database downloaded from this SQLite Tutorial pageI guess it's probably a misconfiguration on my part, but I can't see where... 🤔
The text was updated successfully, but these errors were encountered: