DomiStyle / docker-tor-browser

Tor Browser (in a browser)
https://hub.docker.com/r/domistyle/tor-browser
MIT License
75 stars 22 forks source link

failed to solve: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1 #50

Closed eleaner closed 1 year ago

eleaner commented 1 year ago

Hi

when trying to run it on aarm64 I am getting something like that could anyone help?

 => ERROR [dependencies 1/1] RUN npm ci                                                                                                                                                                     1.0s
------
 > [dependencies 1/1] RUN npm ci:
#0 0.988 npm ERR! code EUSAGE
#0 0.992 npm ERR!
#0 0.993 npm ERR! The `npm ci` command can only install with an existing package-lock.json or
#0 0.993 npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
#0 0.993 npm ERR! later to generate a package-lock.json file, then try again.
#0 0.994 npm ERR!
#0 0.994 npm ERR! Clean install a project
#0 0.994 npm ERR!
#0 0.994 npm ERR! Usage:
#0 0.994 npm ERR! npm ci
#0 0.994 npm ERR!
#0 0.994 npm ERR! Options:
#0 0.994 npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
#0 0.994 npm ERR! [-E|--save-exact] [-g|--global]
#0 0.994 npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
#0 0.995 npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
#0 0.995 npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
#0 0.995 npm ERR! [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
#0 0.995 npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
#0 0.995 npm ERR! [-ws|--workspaces] [--include-workspace-root] [--install-links]
#0 0.995 npm ERR!
#0 0.995 npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
#0 0.995 npm ERR!
#0 0.995 npm ERR! Run "npm help ci" for more info
#0 0.998
#0 0.998 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-04-16T15_53_41_912Z-debug-0.log
------
failed to solve: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1
davidnewcomb commented 1 year ago

You are probably missing a few platform dependencies. What is in the log file: /root/.npm/_logs/2023-04-16T15_53_41_912Z-debug-0.log?

eleaner commented 1 year ago

I have no idea how to check it.

On Mon, 17 Apr 2023 at 03:44, David Newcomb @.***> wrote:

You are probably missing a few platform dependencies. What is in the log file: /root/.npm/_logs/2023-04-16T15_53_41_912Z-debug-0.log?

— Reply to this email directly, view it on GitHub https://github.com/DomiStyle/docker-tor-browser/issues/50#issuecomment-1510609161, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHOAMZAMSX53JRFZVISWU3XBSVAFANCNFSM6AAAAAAXAGSTUU . You are receiving this because you authored the thread.Message ID: @.***>

eleaner commented 1 year ago

@davidnewcomb the message comes during the start of the container I assume that's part of the compilation within the container and the results are not persistent

eleaner commented 1 year ago

ouch, please forgive, it is just me being stupid The error did not come from this container