0

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.

halfer
  • 19,824
  • 17
  • 99
  • 186
adn84
  • 59
  • 6

2 Answers2

1

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

adn84
  • 59
  • 6
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Dec 19 '22 at 13:55
  • Here is the actual link to Node JS 16.20.2: https://nodejs.org/download/release/v16.20.2/ – LAOMUSIC ARTS Aug 30 '23 at 00:26
1

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

Shumon Pal
  • 314
  • 3
  • 12