Monday, November 30, 2020

Re: OpenBSD, Rails and core-js/node-sass

Hola!

On Mon, Nov 30, 2020, at 2:54 AM, Peter Aarhus wrote:
> > On 2020-11-28 13:34:21 Solene wrote:
> >
> > I already had this error with yarn, the fix is
> >
> > ln -s /usr/local/bin/node /tmp/node
> >
> > I can't explain why.

It works because node is trying to find the full path to itself when called from /tmp.

Since things can't determine their path on OpenBSD node does it's best but comes
up short.

I have a patched yarn in openbsd-wip that works around this - but I have negative
interest in moving forward with it :P

Here is an attempted fix in node: https://github.com/nodejs/node/pull/18543

Not sure why it stopped working.

>
> That did it, thank you so much. I'll let the others know.
>
> Hope you have a wonderful day!
>
> All the best,
> Pete
>
>

No comments:

Post a Comment