Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

692
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda