#53166 closed defect (fixed)
yarn: default to an older nodejs on 10.6
Reported by: | mojca (Mojca Miklavec) | Owned by: | jambonrose (Andrew Pinkham) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | snowleopard | Cc: | isomarcte (David Strawn), ci42 |
Port: | yarn |
Description (last modified by mojca (Mojca Miklavec))
nodejs6 only seems to work on 10.7 and later (see also #53165 and many other tickets).
Based on comments in the portfiles it seems that nodejs4 and 5 require at least 10.6 and nodejs requires at least 10.7. It would be nice to fallback to an older version of nodejs (perhaps version 5) on < 10.7.
Btw: is the isomarcte's email in Yarn misspelled?
Change History (9)
comment:1 Changed 8 years ago by mojca (Mojca Miklavec)
Description: | modified (diff) |
---|---|
Keywords: | lion removed |
Summary: | yarn: default to an older nodejs on < 10.8 → yarn: default to an older nodejs on 10.6 |
comment:2 Changed 8 years ago by jambonrose (Andrew Pinkham)
comment:3 Changed 8 years ago by jambonrose (Andrew Pinkham)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 Changed 8 years ago by jambonrose (Andrew Pinkham)
Thanks for the fix!
Quick question: the dependency is set with depends_run
, but commit 5b6de0c7 changes the pre-10.7 code to use depends_lib-replace
. Does depends_run-replace
not exist?
comment:9 Changed 8 years ago by mojca (Mojca Miklavec)
I'm sorry, I suspect it was a copy-and-paste error. Thanks a lot for noticing.
Note: See
TracTickets for help on using
tickets.
I've opened a PR on Github that attempts to fix this issue: https://github.com/macports/macports-ports/pull/127