Skip to content

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

@NAUGHTY-BRAND

Description

@NAUGHTY-BRAND

#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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions