Closed NewtTheWolf closed 2 years ago
only windows atm
Are you passing the required permissions to your deno program (--allow-write
and --allow-read
)?
Are you passing the required permissions to your deno program (
--allow-write
and--allow-read
)?
I have tested the whole thing under linux and it worked fine only under Windows it does not work
my command contains the attribute -A
but here is my test command:
deno run -A --unstable --import-map=./import_map.json --no-check .\test.ts
Hm, the issue might be related to Windows in some way then. I don't have a windows machine to test this on unfortunately.
To help narrow down the issue, could you check two things:
1) Does this problem persist if you run without the --unstable
flag?
2) If it persists, can you try building the debug WASM (clone the repo, then cd build
, then make setup amalgamation debug
) and using the local mod.ts
to try and reproduce. (The debug build will output lot's of diagnostic information which will hopefully help narrow down the issue)
(In case (1) helps, I feel like the issue #174 might be related; in which case we might want to patch file locking under windows for now?)
- Does this problem persist if you run without the
--unstable
flag?
then it's fixed, but unfortunately I can't get around using unstable stuff, so that wouldn't be an option
(In case (1) helps, I feel like the issue #174 might be related; in which case we might want to patch file locking under windows for now?)
as already written it is because of the unstable flag, so is that fixable or should I look for an alternative first?
so that is the only SQLITE module I would look for another storage option
There is a pretty simple fix we can do to make it work for windows. I’ll throw something together today 😊
Closed by #192
with an
in memory database
it works finebut if you specify a path to a file, unfortunately any
update, create, insert
etc query does not work, is that normal?Originally posted by @dyedgreen in https://github.com/dyedgreen/deno-sqlite/issues/171#issuecomment-1015896535