Yarn v3 broken in Termux #9412

Closed
opened 5 months ago by cyberrex · 12 comments
Collaborator

In Termux, yarn doesn't start.
Any commands can't run.
I removed yarn binary from repository and redownloaded with yarn set version berry but I got same result.

Weirdly, other repositories which uses yarn v3 are worked normally.

Internal Error: fastqueue concurrency must be greater than 1
    at B8 (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:44062)
    at new yD (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:47127)
    at new SD (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:49181)
    at UD.eve [as _walkStream] (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:52207)
    at UD.dynamic (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:53211)
    at rk.api (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:59881)
    at /data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:59747
    at new Promise (<anonymous>)
    at rk.read (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:59716)
    at Array.map (<anonymous>)

Node v18.12.1
Yarn v3.3.1

In Termux, yarn doesn't start. Any commands can't run. I removed yarn binary from repository and redownloaded with `yarn set version berry` but I got same result. Weirdly, other repositories which uses yarn v3 are worked normally. ``` Internal Error: fastqueue concurrency must be greater than 1 at B8 (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:44062) at new yD (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:47127) at new SD (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:49181) at UD.eve [as _walkStream] (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:52207) at UD.dynamic (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:53211) at rk.api (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:59881) at /data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:59747 at new Promise (<anonymous>) at rk.read (/data/data/com.termux/files/home/calckey/.yarn/releases/yarn-3.3.1.cjs:253:59716) at Array.map (<anonymous>) ``` Node v18.12.1 Yarn v3.3.1
Collaborator

try removing .yarn/

try removing .yarn/
Poster
Collaborator

try removing .yarn/

It didn't change.

> try removing .yarn/ It didn't change.
Collaborator

all errors are related to the .yarn folder, try using a .yarn folder from a different project

all errors are related to the .yarn folder, try using a .yarn folder from a different project
Poster
Collaborator

all errors are related to the .yarn folder, try using a .yarn folder from a different project

It broke when I brought in a .yarn from another project!
Too strange for me to know what caused it.

> all errors are related to the .yarn folder, try using a .yarn folder from a different project It broke when I brought in a .yarn from another project! Too strange for me to know what caused it.
Collaborator

all errors are related to the .yarn folder, try using a .yarn folder from a different project

It broke when I brought in a .yarn from another project!
Too strange for me to know what caused it.

can you try deleting the git folder, cloning it again and then before making any other commands deleting the .yarn and yarn.lock?

> > all errors are related to the .yarn folder, try using a .yarn folder from a different project > > It broke when I brought in a .yarn from another project! > Too strange for me to know what caused it. can you try deleting the git folder, cloning it again and then before making any other commands deleting the .yarn and yarn.lock?
Poster
Collaborator

can you try deleting the git folder, cloning it again and then before making any other commands deleting the .yarn and yarn.lock?

I tried, but i still got same error

> can you try deleting the git folder, cloning it again and then before making any other commands deleting the .yarn and yarn.lock? I tried, but i still got same error
Collaborator

can you try deleting the git folder, cloning it again and then before making any other commands deleting the .yarn and yarn.lock?

I tried, but i still got same error

i really dont know,,,

> > can you try deleting the git folder, cloning it again and then before making any other commands deleting the .yarn and yarn.lock? > > I tried, but i still got same error i really dont know,,,
Collaborator

Does docker build work?

Does `docker build` work?
Poster
Collaborator

Does docker build work?

on the termux?

> Does `docker build` work? on the termux?

Does docker build work?

Docker can't work in Termux, maybe podman can

> Does `docker build` work? Docker can't work in Termux, maybe podman can
Collaborator

hmm.. gonna need to install termux myself ig

hmm.. gonna need to install termux myself ig
Poster
Collaborator

may resolve by migrating to pnpm

I made migrated branch for misskey-dev/misskey but it can able to apply to Calckey, I think

before migration, should run pnpm import to convert yarn.lock to pnpm lockfile

https://github.com/CyberRex0/misskey/tree/pnpm-test

may resolve by migrating to pnpm I made migrated branch for misskey-dev/misskey but it can able to apply to Calckey, I think before migration, should run pnpm import to convert yarn.lock to pnpm lockfile https://github.com/CyberRex0/misskey/tree/pnpm-test
thatonecalculator closed this issue 5 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: calckey/calckey#9412
Loading…
There is no content yet.