Closed kachbit closed 2 years ago
This means you compiled node-pty against your system's node version, not electron's. See https://github.com/microsoft/node-pty/blob/main/examples/electron/npm_install.sh for an example of how to do this properly.
Executing the .sh file still does not fix the problem :/
@kachbit it's an example of how it's done in the electron example, you need to learn how compile the node module using electron's version of node. This is not a problem with node-pty but your build setup.
@Tyriar Okay, I think I have it figured out. I need to download the correct node version that supports Node Module Version 80. I looked through this (page 11) to try to find the correct release, however, it does not contain a release with Node Module Version 80! Only 79 and 83. Sorry if this is annoying, but I'm stumped.
Here's the electron doc page on it http://man.hubwiz.com/docset/electron.docset/Contents/Resources/Documents/docs/tutorial/using-native-node-modules.html
Environment details
Issue description
Package installs successfully. However, when electron window loads, the terminal does not display, and the console shows two errors:
innerError Error: Cannot find module '../build/Debug/conpty.node'
and