Skip to content

Node 22 installer installs on incompatible OS version #58427

Closed as not planned
Closed as not planned
@julian-weinert

Description

@julian-weinert

Version

v22.16.0

Platform

Darwin 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64

Subsystem

No response

What steps will reproduce the bug?

Install nodejs 22 on macOS 10.14 Mojave
Run nom

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior? Why is that the expected behavior?

Node and npm installed and working

What do you see instead?

Node and npm installed, npm not working

Additional information

Today I wanted to update my Node installation. So I downloaded the LTS installer, which did install and run perfectly fine. Then I ran npm which crashes immediately

dyld: lazy symbol binding failed: Symbol not found: __ZNKSt3__14__fs10filesystem4path13__parent_pathEv
  Referenced from: /usr/local/bin/node (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libc++.1.dylib

dyld: Symbol not found: __ZNKSt3__14__fs10filesystem4path13__parent_pathEv
  Referenced from: /usr/local/bin/node (which was built for Mac OS X 11.0)
  Expected in: /usr/lib/libc++.1.dylib

So apparently node and npm are not compatible with macOS 10.14 anymore. First of all that's complete nonsense. I don't understand why node is built for newest versions only on mac but does run on older linux versions. There is no reason for node to require macOS 11, as there are none of the latest greatest and most flashy frameworks being used.
Now I have a completely broken installation.

If you're unable to support a particular system OS the installer should not install it on that version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions