I am trying to use the Node.js library with node installed through home-brew, but I get this error when executing an example script:

Error: The module '/Users/x/node_modules/@chilkat/ck-node11-macosx/chilkat.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 67. This version of Node.js requires
NODE_MODULE_VERSION 72. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).


You need to download and use Chilkat for Node.js 12.

When the error message from Node.js reports NODE_MODULE_VERSION numbers, go to this web page to associate NODE_MODULE_VERSION numbers with versions of Node.js (for example, NODE_MODULE_VERSION 72 maps to Node.js 12, and NODE_MODULE_VERSION 67 maps to Node.js 11).

You can get Chilkat for Node.js 12 (macosx) here: