Comments (6)
Sorry by the late reply, I find a workaround, I'm using "electron-vite" to build my app, so I suppose should it that it recognize as web. Bassicaly I'm using 'vite-plugin-static-copy' to copy the 'bytebuffer-node.js' to the 'bytebuffer.js' in the build process, So this solved my problem.
from node-simconnect.
Okay I find the problem.
https://github.com/protobufjs/bytebuffer.js/blob/master/src/bytebuffer.js
The bytebuffer ise ArrayBuffer if isn't node.
I will check if I can find a solution.
from node-simconnect.
I force to use directly the node version to work. There is an elegant way to force use the node version?
from node-simconnect.
Hi! I think this only will be an issue when using node-simconnect from the renderer process. In my Electron application I use the main process for sim interaction, and IPC for data transfer between the main and renderer process. That's the most elegant solution I know of at the moment.
from node-simconnect.
Weird, I'm using in the main too, and using IPC. Maybe is anything in my electron setup, I will check. Thx.
from node-simconnect.
Did you find a solution, @joaogn ?
from node-simconnect.
Related Issues (20)
- MFS2020 : Aircraft management from node-simconnect HOT 1
- Use bigint for event ID hashes
- Add some code to the README.md to show how to get and set values? HOT 14
- add .once and .off to SimConnectConnection? HOT 1
- "Title" causes a node-simconnect crash HOT 11
- It looks like open() logs a registry key on failure HOT 4
- How to call transmitClientEvent HOT 2
- Write data variables into created ia aircraft not working HOT 1
- Post NZ World Update 11 - FaclityDataRequest issue crashes sim HOT 1
- Having some issues with `unSubscribeToFacilitiesEx1` HOT 10
- Is it possible to read pmdg CDU screen data? HOT 1
- Pressing the cdu buttons. HOT 2
- Not a real issue, just a heck of a lot of appreciation. HOT 2
- Better type safety for `DataRequestId`, `DataDefinitionId`, `ClientDataDefinitionId`, etc
- Implement new input events API
- Implement SimConnect_EnumerateControllers
- Implement data definition filter API
- Busy-loop caused by subscribeToFacilitiesEx1 HOT 3
- Inconsistent increment/decrement when sending input events
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-simconnect.