-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
yarn command -> throw new AssertionError(obj); #1422
Comments
A typical log on Windows 11 Pro 22H2 looks like this, so I wonder why you are seeing something quite different on Windows 10:
|
I also tested on Windows 10 and found no problem. Perhaps your clone of the repo is not identical to the original develop branch? You could try resetting it or cloning a fresh new copy. |
Maybe i have coorperate networking problem, thanks for the answer, i will test in a public network |
As a cross-check you might like to execute
I am only seeing |
İ tried both yarn and npm, no more edit, just cloned then yarn command, so i am sure it is network access problem |
The error you see could be caused by network access affecting the successful download of the Cypress binary. |
Were you able to resolve your issue? |
Not yet. |
We didn't hear anything more from you and the problem you reported has not been mentioned by any other users, so I suggest to close this issue. |
node -v ->v18.16.1
yarn version->v1.22.19
OS: Windows 10 22H2
ERROR for "yarn" command:
...
warning http-proxy-middleware > micromatch > snapdragon > [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
warning http-proxy-middleware > micromatch > snapdragon > source-map-resolve > [email protected]: https://github.com/lydell/resolve-url#deprecated
warning http-proxy-middleware > micromatch > snapdragon > source-map-resolve > [email protected]: Please see https://github.com/lydell/urix#deprecated
warning http-proxy-middleware > micromatch > snapdragon > source-map-resolve > [email protected]: See https://github.com/lydell/source-map-url#deprecated
warning jwks-rsa > @types/express-jwt > @types/[email protected]: This is a stub types definition. express-unless provides its own type definitions, so you do not need this installed.
[3/5] Fetching packages...
[-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0/1937node:assert:125
throw new AssertionError(obj);
^
AssertionError [ERR_ASSERTION]: 23 == 0
at ClientRequest.onConnect (C:\Users\cetin.dogu\source\cypressdeneme\cypress-realworld-app.yarn\releases\yarn-1.22.19.cjs:146337:14)
at Object.onceWrapper (node:events:628:26)
at ClientRequest.emit (node:events:513:28)
at Socket.socketOnData (node:_http_client:582:11)
at Socket.emit (node:events:513:28)
at addChunk (node:internal/streams/readable:324:12)
at readableAddChunk (node:internal/streams/readable:297:9)
at Readable.push (node:internal/streams/readable:234:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 23,
expected: 0,
operator: '=='
}
The text was updated successfully, but these errors were encountered: