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

Could not resolve dependency: peer puppeteer@">=22.0.0" from [email protected] #548

Open
NAUGHTY-BRAND opened this issue Nov 28, 2024 · 0 comments

Comments

@NAUGHTY-BRAND
Copy link

#9 0.694 npm ERR! code ERESOLVE
#9 0.695 npm ERR! ERESOLVE unable to resolve dependency tree
#9 0.695 npm ERR!
#9 0.695 npm ERR! While resolving: [email protected]
#9 0.695 npm ERR! Found: [email protected]
#9 0.696 npm ERR! node_modules/puppeteer
#9 0.696 npm ERR! puppeteer@"^19.7.2" from the root project
#9 0.696 npm ERR!
#9 0.696 npm ERR! Could not resolve dependency:
#9 0.696 npm ERR! peer puppeteer@">=22.0.0" from [email protected]
#9 0.696 npm ERR! node_modules/puppeteer-cluster
#9 0.696 npm ERR! puppeteer-cluster@"^0.24.0" from the root project
#9 0.696 npm ERR!
#9 0.696 npm ERR! Fix the upstream dependency conflict, or retry
#9 0.696 npm ERR! this command with --force or --legacy-peer-deps
#9 0.696 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
#9 0.696 npm ERR!
#9 0.696 npm ERR!
#9 0.696 npm ERR! For a full report see:
#9 0.696 npm ERR! /home/pptruser/.npm/_logs/2024-11-28T16_19_33_432Z-eresolve-report.txt
#9 0.697
#9 0.697 npm ERR! A complete log of this run can be found in:
#9 0.697 npm ERR! /home/pptruser/.npm/_logs/2024-11-28T16_19_33_432Z-debug-0.log|
#9 ERROR: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1

[4/5] RUN npm ci:
0.696 npm ERR! Fix the upstream dependency conflict, or retry
0.696 npm ERR! this command with --force or --legacy-peer-deps
0.696 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
0.696 npm ERR!
0.696 npm ERR!
0.696 npm ERR! For a full report see:
0.696 npm ERR! /home/pptruser/.npm/_logs/2024-11-28T16_19_33_432Z-eresolve-report.txt
0.697
0.697 npm ERR! A complete log of this run can be found in:
0.697 npm ERR! /home/pptruser/.npm/_logs/2024-11-28T16_19_33_432Z-debug-0.log


Dockerfile:9

7 |
8 | COPY package*.json ./
9 | >>> RUN npm ci
10 | COPY . .
11 | CMD [ "node", "faris.js" ]

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

can anyone help i m running it on onrender so i dont have direct acess to shell
"puppeteer": "^19.7.2"

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

1 participant