deno task db:pull:prod
Task db:pull:prod deno eval --env 'import "apps/records/scripts/pullProd.ts"'
LibsqlError: URL_SCHEME_NOT_SUPPORTED: The client that uses Web standard APIs supports only "libsql:", "wss:", "ws:", "https:" and "http:" URLs, got "file:". For more information, please read https://github.com/libsql/libsql-client-ts#supported-urls
at _createClient (.../Library/Caches/deno/npm/registry.npmjs.org/@libsql/client/0.7.0/lib-esm/web.js:19:15)
at createClient (.../Library/Caches/deno/npm/registry.npmjs.org/@libsql/client/0.7.0/lib-esm/web.js:8:12)
at run (https://denopkg.com/deco-cx/apps@0.59.8/records/scripts/pullProd.ts:80:21)
at eventLoopTick (ext:core/01_core.js:175:7) {
code: "URL_SCHEME_NOT_SUPPORTED",
rawCode: undefined,
name: "LibsqlError"
}
Steps to Reproduce (for bugs)
Have a deco site
Install deco records via admin
run in the terminal deno eval --env 'import "apps/records/scripts/pullProd.ts"'
Issue Type
Description
run
records/scripts/pullProd.ts
causes error:Steps to Reproduce (for bugs)
deno eval --env 'import "apps/records/scripts/pullProd.ts"'
Expected Behavior
Dump db and create sqlite.db file locally
Actual Behavior
Crashes creating the sqlite client