Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

690
Views
Symbol not found: ____chkstk_darwin error on MacOS using canvas 2.8.0 (node 14.17.0)

Here is my code and the step that I have done:

  1. npm init
  2. install canvas with npm (version 2.8.0)
  3. Run node index.js

Capture d’écran 2021-09-15 à 11 41 36

This error appeared:

_dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/macbook/Desktop/test/node_modules/canvas/build/Release/libpixman-1.0.40.0.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin
  Referenced from: /Users/macbook/Desktop/test/node_modules/canvas/build/Release/libpixman-1.0.40.0.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib_

My Mac config -> MacOS High Sierra - Version 10.13.6

I think my Mac version is too old for libpixman-1.0.40.0. If it's the problem, how can I downgrade this package? Which version should I get to make sure the project will still run?

Edit 21/09/2021:

Here is the solution. My env -> MacOSX 10.13.5.

I needed to downgrade both node and canvas version to run the project.

npm i canvas@2.6.1

Then I install an older version of node (node 8.10.0) with NVM

How to change to an older version of Node.js

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!