Integrate local development kit

In the process of developing automated scripts, sometimes other packages that have been packaged in binary format are called. For example, the sqlite, robotjs and other packages in the Node package contain the binary package .node file. When NPM installs these binary packages, it will be compiled into the corresponding version according to the operating environment (operating system, CPU architecture) and Node version. At this time, if the Node version installed in the system environment is inconsistent with the built-in Node version of CukeTest, call the compiled version The package may have a NODE_VERSION error.

There are two solutions to this problem:

  • Use the electron-rebuild tool to recompile the package to a version consistent with CukeTest's Node version;
  • Change the running engine of CukeTest to the Node in the system instead of the built-in Node.

Chinese version click here.

results matching ""

    No results matching ""