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
{{ message }}
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
But if you don't use externals, including if you're using a loader like node-native-loader, this will actually break your output, as the relative path in the pre-bundle code is no longer valid!
The right fix is probably to just use the local file path as returned from bindings as the required statement, or at least a relative path to it, then tell you to also use node-native-loader, or one of the equivalents. This means the path option for bindings is useless of course, not sure what to do about that.
ERROR in ./node_modules/ref/lib/ref.js
Module not found: Error: Can't resolve './binding.node' in 'E:\CI-Cor\acrop\acrop\device\node_modules\ref\lib'
@ ./node_modules/ref/lib/ref.js 5:27-52
@ ./node/drivers/rs485/serial.ts
@ ./node/drivers/rs485/test-serial.ts
ERROR in ./node_modules/ffi/lib/bindings.js
Module not found: Error: Can't resolve './ffi_bindings.node' in 'E:\CI-Cor\acrop\acrop\device\node_modules\ffi\lib'
@ ./node_modules/ffi/lib/bindings.js 2:17-47
@ ./node_modules/ffi/lib/ffi.js
@ ./node/drivers/rs485/serial.ts
@ ./node/drivers/rs485/test-serial.ts
The text was updated successfully, but these errors were encountered: