Docker error: [Error: EISDIR: illegal operation on a directory, read] #842
Unanswered
ThatOneCalculator
asked this question in
Q&A
Replies: 1 comment
-
Hi! I was indeed able to reproduce: @lowlighter ➜ /workspaces/metrics (master) $ docker run --entrypoint="" -p=127.0.0.1:3000:3000 --volume=settings.example.json:/metrics/settings.json ghcr.io/lowlighter/metrics:latest npm start
Unable to find image 'ghcr.io/lowlighter/metrics:latest' locally
latest: Pulling from lowlighter/metrics
a2abf6c4d29d: Pull complete
716b0e096692: Pull complete
fe6faad74785: Pull complete
210ec5508c76: Pull complete
c0598cf3675c: Pull complete
5c38cbe9d616: Pull complete
cc5670e9a23e: Pull complete
Digest: sha256:0f04faaff324abead388332ef5370af42231dad06e108f6dde9922fe9315abd6
Status: Downloaded newer image for ghcr.io/lowlighter/metrics:latest
> [email protected] start
> node source/app/web/index.mjs
metrics/setup > setup
metrics/setup > load settings.json
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: EISDIR: illegal operation on a directory, read] {
errno: -21,
code: 'EISDIR',
syscall: 'read'
}
Node.js v17.3.1 But by any-chance, is your Running the exact same command but with
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Following the server instructions, getting this error:
Note that this is a docker only problem,
npm start
works fine.Beta Was this translation helpful? Give feedback.
All reactions