-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Hi!
Tried setting this up in a docker container, to get quick access to a sqlite file running on a server.
Nothing fancy, basically just:
db-admin:
image: node:22-alpine
command: npx -y @outerbase/studio /data/data.sqlite
However, it fails with
TypeError: process.stdin.setRawMode is not a function
at q (/root/.npm/_npx/1372e37502a94d3d/node_modules/@outerbase/studio/dist/index.js:46:797)
at Command.<anonymous> (/root/.npm/_npx/1372e37502a94d3d/node_modules/@outerbase/studio/dist/index.js:46:2957)
at Command.listener [as _actionHandler] (/root/.npm/_npx/1372e37502a94d3d/node_modules/commander/lib/command.js:542:17)
at /root/.npm/_npx/1372e37502a94d3d/node_modules/commander/lib/command.js:1502:14
at Command._chainOrCall (/root/.npm/_npx/1372e37502a94d3d/node_modules/commander/lib/command.js:1386:12)
at Command._parseCommand (/root/.npm/_npx/1372e37502a94d3d/node_modules/commander/lib/command.js:1501:27)
at Command.parse (/root/.npm/_npx/1372e37502a94d3d/node_modules/commander/lib/command.js:1064:10)
at Object.<anonymous> (/root/.npm/_npx/1372e37502a94d3d/node_modules/@outerbase/studio/dist/index.js:46:3034)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
I assume it needs to check if it has a tty.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels