-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: No such module was linked: electron_common_v8_util #100
Comments
Same here. I'm using jest but got same error. Any suggestion ? |
Ok i've found the solution to bypass this error for testing (with Jest) . The idea is give process correct dummy function for process._linkedBinding. For jest:
If you using spectron you can try to modify _linkedBinding function in proccess. It's should work. |
Occured same uncaught error while getElectronBinding with any suggestion? |
same here |
I'm using playwright and got same error |
Same here btw |
I am facing this with jasmine test case, any idea how to resolve |
I had the same bug and the reason was an exported variable in my |
Description
An error occurs during NodeJS is including '.\server' from @electron/remote.
Error: No such module was linked: electron_common_v8_util
I am a software tester. I use Spectron to automate my tests on Electron applications.
Spectron has stopped using electron.remote and migrated to @electron/remote. However, it does not work on my machine.
When I start debugging my Typescript project (e.g. node runTest.js) that uses new version of Spectron, it will throw and error when it imports modules from Spectron and @electron/remote.
The error is thrown from the code below from
@electron/remote/dist/src/common/get-electron-binding.js
Error message
Platform
OS: Windows 10
Spectron: v.16
electron: 14.0.0
@electron/remote: v.2.0.1
Video record
Error-noModuleLinked-electron_common_v8_util.mp4
The text was updated successfully, but these errors were encountered: