Tried building from the example (node-pty/examples/electron). It worked!
However, when upgrading electron and other libs would wouldn't work.
./npm-install.sh
# Electron's version.
export npm_config_target=20.1.4
# The architecture of Electron, can be ia32 or x64.
export npm_config_arch=x64
export npm_config_target_arch=x64
# Download headers for Electron.
export npm_config_disturl=https://www.electronjs.org/headers
# Tell node-pre-gyp that we are building for Electron.
export npm_config_runtime=electron
# Tell node-pre-gyp to build module from source code.
export npm_config_build_from_source=true
# Install all dependencies, and store cache to ~/.electron-gyp.
HOME=~/.electron-gyp npm install
Environment details
Issue description
Tried building from the example (node-pty/examples/electron). It worked! However, when upgrading electron and other libs would wouldn't work.
./npm-install.sh
package.json
When running:
npm start
the terminal doesn't appear.When rebuilding:
npm rebuild
Will appreciate your help.
Thank you