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
The displays package works and the robotjs package doesn't.
Actual Behavior
The diaplays package gets copied to the native_modules folder and works without issue, the robotjs package gets copied too but an intermediate (?) module is created:
wich contains this:
And results in this error:
Replacing the weird intermediate module with the actual robotjs binary works, so I guess the static analysis is triggering a different code path for the robotjs module that is not actually needed and should behave the same as with the other module.
The text was updated successfully, but these errors were encountered:
Thanks, tried both and none worked, the externals plugin copied some modules to the node_modules folder but some are missing still it seems. The asset relocator one did exactly the same as the one from marshalofsound.
Preflight Checklist
Issue Details
*v13.0.1
n/a
Expected Behavior
I'm working on a project using 2 native modules:
https://github.com/kristian/displays & https://github.com/octalmage/robotjs
The
displays
package works and therobotjs
package doesn't.Actual Behavior
The
diaplays
package gets copied to thenative_modules
folder and works without issue, therobotjs
package gets copied too but an intermediate (?) module is created:wich contains this:
And results in this error:
Replacing the weird intermediate module with the actual
robotjs
binary works, so I guess the static analysis is triggering a different code path for therobotjs
module that is not actually needed and should behave the same as with the other module.The text was updated successfully, but these errors were encountered: