Reputation: 71
I'm using an old MAC OS and I didn't have any issue before, but after I reset it and installed the NodeJS and I tried the node -v
or even npm -v
I get this error message.
adnanes-MacBook-Pro:react adnaneabid$ node -v
dyld: lazy symbol binding failed: Symbol not found: chkstk_darwin
Referenced from: /usr/local/bin/node (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: chkstk_darwin
Referenced from: /usr/local/bin/node (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib.
Just for info, the MAC I'm using: macOS High Sierra, version 10.13.6, Model 2011 and I can't update the OS because it's too old.
Upvotes: 1
Views: 2320
Reputation: 423
If your Mac version is below 10.14 you should install node 16 or below. The latest version 18 of Node is build for Mac OS X 10.15. This issue might be relevant
Upvotes: 2
Reputation: 71
I solved it by installing an old NodeJS version, I'm sharing a link in case someone else is getting the same error message.
Symbol not found: ____chkstk_darwin
Upvotes: 1