在 NodeJS(版本 v12.6.0)中使用此命令行安装 CHILKAT 后,我收到此错误消息:
npm rebuild @chilkat/ck-node11-win64
Waiting foError: The module '\?\c:\APEX\Projets\PDF_SignElec\WS\Projets\node_modules@chilkat\ck-node11-win64\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
ornpm install
). at Object.Module._extensions..node (internal/modules/cjs/loader.js:817:18) at Module.load (internal/modules/cjs/loader.js:643:32) at Function.Module._load (internal/modules/cjs/loader.js:556:12) at Module.require (internal/modules/cjs/loader.js:683:19) at require (internal/modules/cjs/helpers.js:16:16) at Object. (c:\APEX\Projets\PDF_SignElec\WS\Projets\myExample_5.js:17:19) at Module._compile (internal/modules/cjs/loader.js:773:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10) at Module.load (internal/modules/cjs/loader.js:643:32) at Function.Module._load (internal/modules/cjs/loader.js:556:12) r the debugger to disconnect...
最佳答案
我忘了发布此更新。 Node.js 12 的 Chilkat 库位于 https://www.npmjs.com/package/@chilkat/ck-node12-win64
关于javascript - 在windows10中安装Chilkat-11后出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57525195/