Open aswathpp97 opened 6 days ago
g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
Looks like you're missing something in the C++ toolchain side. Make sure you have the dependencies all set up https://github.com/microsoft/node-pty?tab=readme-ov-file#dependencies
g++: error: unrecognized command line option ‘-std=gnu++20’; did you mean ‘-std=gnu++2a’?
Looks like you're missing something in the C++ toolchain side. Make sure you have the dependencies all set up https://github.com/microsoft/node-pty?tab=readme-ov-file#dependencies
I ran the commandsudo apt install -y make python build-essential
to ensure the necessary dependencies are installed. The error only occurs in Electron versions greater than 32; it compiles fine on lower versions.
The node-pty package is failing to rebuild in our Electron environment, leading to an unhandled rejection error during the build process.
node v - 20.18.0 electron - 33.2.0 node-pty - 1.0.0