在 windows10 中安装 Chilkat-11 后出错
Error after installing Chilkat-11 in windows10
我收到此错误消息,在 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
or npm 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...
您需要重建二进制文件。
尝试以下操作:
npm rebuild @chilkat/ck-node11-win64 --update-binary
在此处查看 NODE_MODULE_VERSION 号与 Node.js 版本号配对的历史记录:https://nodejs.org/de/download/releases/
NODE_MODULE_VERSION 67 等同于 Node.js 11.* Chilkat 模块 @chilkat\ck-node11-win64 是使用 NODE_MODULE_VERSION 67.
正确构建的
但是,您当前使用的 Node.js 版本不能是 Node.js 11,因为错误消息显示 "This version of Node.js requires NODE_MODULE_VERSION 72"。您必须使用 Node.js 12.。 Chilkat 将在下周 Node.js 12. 发布。
我忘了 post 这个更新。 Node.js 12 的 Chilkat 库位于 https://www.npmjs.com/package/@chilkat/ck-node12-win64
我收到此错误消息,在 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...
您需要重建二进制文件。
尝试以下操作:
npm rebuild @chilkat/ck-node11-win64 --update-binary
在此处查看 NODE_MODULE_VERSION 号与 Node.js 版本号配对的历史记录:https://nodejs.org/de/download/releases/
NODE_MODULE_VERSION 67 等同于 Node.js 11.* Chilkat 模块 @chilkat\ck-node11-win64 是使用 NODE_MODULE_VERSION 67.
正确构建的但是,您当前使用的 Node.js 版本不能是 Node.js 11,因为错误消息显示 "This version of Node.js requires NODE_MODULE_VERSION 72"。您必须使用 Node.js 12.。 Chilkat 将在下周 Node.js 12. 发布。
我忘了 post 这个更新。 Node.js 12 的 Chilkat 库位于 https://www.npmjs.com/package/@chilkat/ck-node12-win64