Problem with yarn install node-canvas

Describe Your Question

Unable to run a yarn install on Main from cornerstone3D due to an incorrect URL for the node-canvas node.

  • A clear and concise description of what problem you are having.
  • Which OHIF version you are using?
    branch main of cornerstone3D

What steps can we follow to reproduce the bug?

  1. First step > yarn install

then I receive the following

node-pre-gyp http GET
node-pre-gyp ERR! install response status 404 Not Found on

Is this upstream of cornerstone3D? Should I be downloading node-canvas and editing the package.json by hand?

Please advise. Hopefully this isn’t too basic a question.


This is a node problem, try using a node version manager like nvm (GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions) and use node 18 at least