Skip to content

[BUG] node-pty安装失败 #1211

@Qwqw127

Description

@Qwqw127

System details / 系统信息

win11、node 22.18.0、pnpm 10.26.1

What's wrong? / 出了什么问题?

Image

 WARN  11 deprecated subdependencies found: @npmcli/move-file@2.0.1, @types/json-stable-stringify@1.2.0, boolean@3.2.0, glob@7.2.3, glob@8.1.0, inflight@1.0.6, lodash.isequal@4.5.0, node-domexception@1.0.0, q@1.5.1, rimraf@2.6.3, rimraf@3.0.2
Packages: +1
+
Progress: resolved 1458, reused 1334, downloaded 1, added 1, done
. postinstall$ electron-builder install-app-deps && simple-git-hooks
│ • electron-builder version=26.0.12
│ • loaded configuration file=D:\web_proj\MCP\A-deepchat-upstream\electron-builder.yml
│ • executing @electron/rebuild electronVersion=37.10.3 arch=x64 buildFromSource=false appDir=./
│ • installing native dependencies arch=x64
│ • preparing moduleName=better-sqlite3-multiple-ciphers arch=x64
│ • finished moduleName=better-sqlite3-multiple-ciphers arch=x64
│ • preparing moduleName=node-pty arch=x64
│ ⨯ gyp verb clean removing "build" directory
│ gyp verb download using dist-url https://www.electronjs.org/headers
│ gyp verb find Python Python is not set from command line or npm configuration
│ gyp verb find Python Python is not set from environment variable PYTHON
│ gyp verb find Python checking if the py launcher can be used to find Python 3
│ gyp verb find Python - executing "py.exe" to get Python 3 executable path
│ gyp sill find Python execFile: exec = "py.exe"
│ gyp sill find Python execFile: args = ["-3","-c","import sys; sys.stdout.buffer.write(sys.executable.encode('utf-8'));"]
│ gyp sill find Python execFile: opts = {"env":

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwaiting for feedbackneeds more info from user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions