You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If canvas is installed by any dependency, the tests in jest-electron will break due to incompatible node version:
Error: The module 'project-root/node_modules/canvas/build/Release/canvas.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 72. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.func (electron/js2c/asar.js:138)
at process.func [as dlopen] (electron/js2c/asar.js:138)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:828)
at Object.func (electron/js2c/asar.js:138)
at Object.func [as .node] (electron/js2c/asar.js:138)
at Module.load (internal/modules/cjs/loader.js:645)
at Function.Module._load (internal/modules/cjs/loader.js:560)
at Module.require (internal/modules/cjs/loader.js:685)
at require (internal/modules/cjs/helpers.js:16)
at Runtime._loadModule (project-root/node_modules/jest-runtime/build/index.js:572)
at Runtime.requireModule (project-root/node_modules/jest-runtime/build/index.js:433)
at Runtime.requireModuleOrMock (project-root/node_modules/jest-runtime/build/index.js:598)
at Object.<anonymous> (project-root/node_modules/canvas/lib/bindings.js:3)
at Runtime._execModule (project-root/node_modules/jest-runtime/build/index.js:867)
at Runtime._loadModule (project-root/node_modules/jest-runtime/build/index.js:577)
at Runtime.requireModule (project-root/node_modules/jest-runtime/build/index.js:433)
The text was updated successfully, but these errors were encountered:
If
canvas
is installed by any dependency, the tests in jest-electron will break due to incompatible node version:The text was updated successfully, but these errors were encountered: