I'm getting these issues when trying to upgrade fr...
# cy10-feedback
p
I'm getting these issues when trying to upgrade from 10.0.0 to 10.0.1, anyone have any idea how to resolve them ?
w
Is this still happening for you? I just tried an
npm install cypress@10.0.1
on a project and it worked as expected
p
yes it does and i've done the following: - updated outdated packages, mochawesome ,ajv etc - deleted node folder and json.lock moved all devDependencies to dependencies and ran npm i, still errors Right now i'm reading on peerDependencies because i'm kinda new to CI/CD development and my senior is missing today :D, also cypress suggest the following install command
npm install -D cypress@10.0.1
which i've been running Heres my dependencies object:
Copy code
json
{
  "dependencies": {
    "ajv": "^8.11.0",
    "cypress-file-upload": "^5.0.8",
    "cypress-mochawesome-reporter": "^3.1.0",
    "dayjs": "^1.11.2",
    "del": "^6.1.1",
    "install": "^0.13.0",
    "mochawesome": "^7.0.1",
    "mochawesome-report-generator": "^6.0.1",
    "@stomp/stompjs": "^6.1.2",
    "chance": "^1.1.8",
    "discord.js": "^13.6.0",
    "lodash": "^4.17.21",
    "pg": "^8.7.3",
    "cypress": "^10.0.0"
  }
}
w
oh true I missed the
--save-dev
flag when I looked at this, hmm. Same result for me with
-D
, no "No matching version found" errors. Surprised you would hit this for 10.0.1 and not 10.0.0 🤔
p
I ran just
Copy code
npm install cypress@10.0.1
and i still get these errors
s
Did you try using the flag --legacy-peer-deps when updating? 🤔 Although be careful using this because it may break some things.
w
At this point I'd ask if you can make a github issue, and see if there's any way to reproduce. Does installing 10.0.1 work for you on other projects? And it's just this specific combination of dependencies that seems to be the issue? Maybe we can narrow it down.
4 Views