Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build -t chatgpt-on-wechat . 運行錯誤 #81

Closed
edioi opened this issue Apr 3, 2024 · 1 comment
Closed

docker build -t chatgpt-on-wechat . 運行錯誤 #81

edioi opened this issue Apr 3, 2024 · 1 comment

Comments

@edioi
Copy link

edioi commented Apr 3, 2024

大佬好,安裝過程中,到了docker build -t chatgpt-on-wechat . 這一步,出現了錯誤,請問如何解決呢?謝謝大佬

26.19 2024-04-03 02:04:48 - Repository configured successfully. To install Node.js, run: apt-get install nodejs -y
26.21 Reading package lists...
27.39 Building dependency tree...
27.65 Reading state information...
27.78 Some packages could not be installed. This may mean that you have
27.78 requested an impossible situation or if you are using the unstable
27.78 distribution that some required packages have not yet been created
27.78 or been moved out of Incoming.
27.78 The following information may help to resolve the situation:
27.78
27.78 The following packages have unmet dependencies:
28.00 nodejs : Conflicts: npm
28.00 npm : Depends: node-agent-base but it is not going to be installed
28.00 Depends: node-archy but it is not going to be installed
28.00 Depends: node-cacache (>= 17) but it is not going to be installed
28.00 Depends: node-chalk (>= 5.1.2-2~) but it is not going to be installed
28.00 Depends: node-cli-table3
28.00 Depends: node-columnify but it is not going to be installed
28.00 Depends: node-cssesc
28.00 Depends: node-debug but it is not going to be installed
28.00 Depends: node-emoji-regex
28.00 Depends: node-gyp but it is not going to be installed
28.00 Depends: node-http-proxy-agent
28.00 Depends: node-https-proxy-agent but it is not going to be installed
28.00 Depends: node-mkdirp but it is not going to be installed
28.00 Depends: node-ms but it is not going to be installed
28.00 Depends: node-nopt but it is not going to be installed
28.00 Depends: node-normalize-package-data but it is not going to be installed
28.00 Depends: node-npm-bundled but it is not going to be installed
28.00 Depends: node-npm-normalize-package-bin
28.00 Depends: node-npm-package-arg (>= 10) but it is not going to be installed
28.00 Depends: node-npmlog but it is not going to be installed
28.00 Depends: node-postcss-selector-parser
28.00 Depends: node-read-package-json but it is not going to be installed
28.00 Depends: node-rimraf but it is not going to be installed
28.00 Depends: node-semver but it is not going to be installed
28.00 Depends: node-string-width but it is not going to be installed
28.00 Depends: node-strip-ansi but it is not going to be installed
28.00 Depends: node-tar but it is not going to be installed
28.00 Depends: node-validate-npm-package-name but it is not going to be installed
28.00 Depends: node-which but it is not going to be installed
28.00 Depends: nodejs:any
28.00 Recommends: node-tap but it is not going to be installed
28.00 E: Unable to correct problems, you have held broken packages.

Dockerfile:4

3 | ARG POETRY_VERSION=1.2.2
4 | >>> RUN apt-get update &&
5 | >>> curl -sL https://deb.nodesource.com/setup_16.x | bash - &&
6 | >>> apt-get install -y nodejs
7 | >>> npm &&
8 | >>> rm -rf /var/cache/apk/* &&
9 | >>> pip3 install --no-cache-dir poetry &&
10 | >>> rm -rf ~/.cache/
11 | COPY package*.json ./

ERROR: failed to solve: process "/bin/sh -c apt-get update && curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs npm && rm -rf /var/cache/apk/* && pip3 install --no-cache-dir poetry && rm -rf ~/.cache/" did not complete successfully: exit code: 100

@kx-Huang
Copy link
Owner

请参考 #3 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants