需要满足node-pty使用依赖,摘录在最后
npm install
npm run rebuild
npm run serve
npm run serve
node-pty使用依赖摘录如下
Node.JS 12+ or Electron 8+ is required to use
node-pty
.sudo apt install -y make python build-essentialXcode is needed to compile the sources, this can be installed from the App Store.
npm install
requires some tools to be present in the system like Python and C++ compiler. Windows users can easily install them by running the following command in PowerShell as administrator. For more information see https://github.com/felixrieseberg/windows-build-tools:npm install --global --production windows-build-toolsThe following are also needed:
- Windows SDK - only the "Desktop C++ Apps" components are needed to be installed