跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
  • 用户
  • 群组
皮肤
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • 默认(不使用皮肤)
  • 不使用皮肤
折叠
品牌标识

DeepracticeX 社区

  1. 主页
  2. PromptX
  3. PNPM Build Tips WARN  Failed

PNPM Build Tips WARN  Failed

已定时 已固定 已锁定 已移动 PromptX
3 帖子 1 发布者 132 浏览 1 关注中
  • 从旧到新
  • 从新到旧
  • 最多赞同
回复
  • 在新帖中回复
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • C 离线
    C 离线
    Can
    编写于 最后由 编辑
    #1

    node -v
    v22.21.1

    pnpm -v
    10.23.0

    Run > pnpm install && pnpm build

    Scope: all 8 workspace projects
     WARN  deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.vilmartians/[email protected]: 524.29 kB/56.50 MB
    Downloading @evilmartians/[email protected]: 56.50 MB/56.50 MB, done
    Downloading [email protected]: 5.63 MB/5.63 MB, done
    Downloading [email protected]: 5.89 MB/5.89 MB, done
     WARN  GET http://localhost:4873/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.30.2.tgz error (ECONNRESET). Will retry in 10 seconds. 2 retries left./15.14 MB
    Packages are hard linked from the content-addressable store to the virtual store.
      Content-addressable store is at: D:\.pnpm-store\v10
      Virtual store is at:             node_modules/.pnpm
    Downloading [email protected]: 15.14 MB/15.14 MB, done
    Downloading [email protected]: 72.51 MB/72.51 MB, done
     WARN  17 deprecated subdependencies found: @humanwhocodes/[email protected], @humanwhocodes/[email protected], @npmcli/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
    Packages: +1203
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Progress: resolved 1307, reused 0, downloaded 1211, added 1203, done
    Downloading [email protected]: 9.14 MB/9.14 MB, done
     WARN  Failed to create bin at D:\developer\Deep\PromptX\apps\cli\node_modules\.bin\mcp-server. ENOENT: no such file or directory, stat 'D:\developer\Deep\PromptX\packages\mcp-server\dist\mcp-server.js.EXE'
     WARN  Failed to create bin at D:\developer\Deep\PromptX\apps\desktop\node_modules\.bin\mcp-server. ENOENT: no such file or directory, stat 'D:\developer\Deep\PromptX\packages\mcp-server\dist\mcp-server.js.EXE'
     WARN  Failed to create bin at D:\developer\Deep\PromptX\node_modules\.bin\promptx-cli. ENOENT: no such file or directory, stat 'D:\developer\Deep\PromptX\node_modules\@promptx\cli\dist\promptx.js.EXE'
     WARN  Failed to create bin at D:\developer\Deep\PromptX\node_modules\.bin\promptx. ENOENT: no such file or directory, stat 'D:\developer\Deep\PromptX\node_modules\@promptx\cli\dist\promptx.js.EXE'
     WARN  Failed to create bin at D:\developer\Deep\PromptX\node_modules\.bin\mcp-server. ENOENT: no such file or directory, stat 'D:\developer\Deep\PromptX\node_modules\@promptx\mcp-server\dist\mcp-server.js.EXE'
     WARN  5 other warnings
    . postinstall$ pnpm rebuild better-sqlite3 || true
    └─ Done in 527ms
    . prepare$ npx lefthook install
    │ sync hooks: ✔️ (commit-msg)
    └─ Done in 960ms
    apps/desktop postinstall$ node scripts/install-electron.cjs
    │ 🔍 Checking Electron installation...
    │ 📦 Installing Electron binary...
    │ ⏳ Downloading Electron binary (this may take a few minutes)...
    │ ✅ Electron binary installation completed
    └─ Running...
    
    
    1 条回复 最后回复
    0
    • C 离线
      C 离线
      Can
      编写于 最后由 编辑
      #2

      接上提示补充

      Run Env: Windows 10 x64 bit.

      apps/desktop postinstall$ node scripts/install-electron.cjs
      │ 🔍 Checking Electron installation...
      │ 📦 Installing Electron binary...
      │ ⏳ Downloading Electron binary (this may take a few minutes)...
      │ ✅ Electron binary installation completed
      │ ReadError: The server aborted pending request
      │     at IncomingMessage.<anonymous> (D:\developer\Deep\PromptX\node_modules\.pnpm\[email protected]\node_modules\got\dist\s…
      │     at Object.onceWrapper (node:events:633:28)
      │     at IncomingMessage.emit (node:events:531:35)
      │     at origin.emit (D:\developer\Deep\PromptX\node_modules\.pnpm\@[email protected]\node_modules\@szmarcza…
      │     at IncomingMessage._destroy (node:_http_incoming:221:10)
      │     at _destroy (node:internal/streams/destroy:122:10)
      │     at IncomingMessage.destroy (node:internal/streams/destroy:84:5)
      │     at TLSSocket.socketCloseListener (node:_http_client:534:11)
      │     at TLSSocket.emit (node:events:531:35)
      │     at node:net:346:12
      └─ Failed in 37m 23.8s at D:\developer\Deep\PromptX\apps\desktop
       ELIFECYCLE  Command failed with exit code 1.
      
      1 条回复 最后回复
      0
      • C 离线
        C 离线
        Can
        编写于 最后由 编辑
        #3

        pnpm build --force

        > root@ build D:\developer\Deep\PromptX
        > turbo build "--force"
        
        turbo 2.5.8
        
        • Packages in scope: @promptx/cli, @promptx/config, @promptx/core, @promptx/desktop, @promptx/logger, @promptx/mcp-server, @promptx/resource
        • Running build in 7 packages
        • Remote caching disabled
        @promptx/logger:build: cache bypass, force executing 6452244c6d2ab1a2
        @promptx/config:build: cache bypass, force executing 78e5cc2c6e48e0ac
        @promptx/logger:build:
        @promptx/logger:build: > @promptx/[email protected] build D:\developer\Deep\PromptX\packages\logger
        @promptx/logger:build: > tsup
        @promptx/logger:build:
        @promptx/config:build:
        @promptx/config:build: > @promptx/[email protected] build D:\developer\Deep\PromptX\packages\config
        @promptx/config:build: > tsup
        @promptx/config:build:
        @promptx/logger:build: ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/logger:build:
        @promptx/config:build: ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/config:build:
        @promptx/logger:build:     package.json:13:6:
        @promptx/logger:build:       13 │       "types": "./dist/index.d.ts"
        @promptx/config:build:     package.json:13:6:
        @promptx/logger:build:          ╵       ~~~~~~~
        @promptx/logger:build:
        @promptx/config:build:       13 │       "types": "./dist/index.d.ts"
        @promptx/config:build:          ╵       ~~~~~~~
        @promptx/config:build:
        @promptx/config:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/config:build:
        @promptx/config:build:     package.json:11:6:
        @promptx/config:build:       11 │       "import": "./dist/index.js",
        @promptx/config:build:          ╵       ~~~~~~~~
        @promptx/config:build:
        @promptx/config:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/logger:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/config:build:
        @promptx/config:build:     package.json:12:6:
        @promptx/logger:build:
        @promptx/config:build:       12 │       "require": "./dist/index.cjs",
        @promptx/config:build:          ╵       ~~~~~~~~~
        @promptx/config:build:
        @promptx/logger:build:     package.json:11:6:
        @promptx/logger:build:       11 │       "import": "./dist/index.js",
        @promptx/logger:build:          ╵       ~~~~~~~~
        @promptx/logger:build:
        @promptx/logger:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/logger:build:
        @promptx/logger:build:     package.json:12:6:
        @promptx/logger:build:       12 │       "require": "./dist/index.cjs",
        @promptx/logger:build:          ╵       ~~~~~~~~~
        @promptx/logger:build:
        @promptx/config:build: CLI Building entry: src/index.ts
        @promptx/logger:build: CLI Building entry: src/index.ts
        @promptx/config:build: CLI Using tsconfig: tsconfig.json
        @promptx/config:build: CLI tsup v8.5.0
        @promptx/logger:build: CLI Using tsconfig: tsconfig.json
        @promptx/config:build: CLI Using tsup config: D:\developer\Deep\PromptX\packages\config\tsup.config.ts
        @promptx/logger:build: CLI tsup v8.5.0
        @promptx/config:build: CLI Target: es2020
        @promptx/config:build: CLI Cleaning output folder
        @promptx/logger:build: CLI Using tsup config: D:\developer\Deep\PromptX\packages\logger\tsup.config.ts
        @promptx/config:build: CJS Build start
        @promptx/logger:build: CLI Target: es2020
        @promptx/config:build: ESM Build start
        @promptx/logger:build: CLI Cleaning output folder
        @promptx/logger:build: ESM Build start
        @promptx/logger:build:
        @promptx/logger:build:  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/logger:build: CJS Build start
        @promptx/logger:build:
        @promptx/logger:build:     package.json:13:6:
        @promptx/logger:build:       13 │       "types": "./dist/index.d.ts"
        @promptx/config:build:
        @promptx/config:build: ESM dist\index.js     5.87 KB
        @promptx/config:build:  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/logger:build:          ╵       ~~~~~~~
        @promptx/logger:build: CJS dist\index.cjs     8.65 KB
        @promptx/logger:build: CJS dist\index.cjs.map 13.83 KB
        @promptx/config:build: ESM dist\index.js.map 11.20 KB
        @promptx/config:build: ESM ⚡️ Build success in 52ms
        @promptx/config:build:
        @promptx/logger:build: CJS ⚡️ Build success in 43ms
        @promptx/logger:build:
        @promptx/config:build: CJS dist\index.cjs     7.01 KB
        @promptx/logger:build: ESM dist\index.js     6.56 KB
        @promptx/config:build: CJS dist\index.cjs.map 11.30 KB
        @promptx/config:build:     package.json:13:6:
        @promptx/config:build: CJS ⚡️ Build success in 55ms
        @promptx/logger:build: ESM dist\index.js.map 13.62 KB
        @promptx/config:build:       13 │       "types": "./dist/index.d.ts"
        @promptx/logger:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/config:build:          ╵       ~~~~~~~
        @promptx/logger:build:
        @promptx/logger:build: ESM ⚡️ Build success in 44ms
        @promptx/config:build:
        @promptx/config:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/logger:build:     package.json:11:6:
        @promptx/config:build:
        @promptx/logger:build:       11 │       "import": "./dist/index.js",
        @promptx/config:build:     package.json:11:6:
        @promptx/logger:build:          ╵       ~~~~~~~~
        @promptx/config:build:       11 │       "import": "./dist/index.js",
        @promptx/logger:build:
        @promptx/config:build:          ╵       ~~~~~~~~
        @promptx/logger:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/config:build:
        @promptx/logger:build:
        @promptx/config:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/logger:build:     package.json:12:6:
        @promptx/logger:build:       12 │       "require": "./dist/index.cjs",
        @promptx/config:build:
        @promptx/logger:build:          ╵       ~~~~~~~~~
        @promptx/logger:build:
        @promptx/config:build:     package.json:12:6:
        @promptx/logger:build:
        @promptx/config:build:       12 │       "require": "./dist/index.cjs",
        @promptx/logger:build:
        @promptx/config:build:          ╵       ~~~~~~~~~
        @promptx/config:build:
        @promptx/logger:build:
        @promptx/config:build:
        @promptx/logger:build:  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/config:build:
        @promptx/logger:build:
        @promptx/config:build:
        @promptx/config:build:  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/config:build:
        @promptx/config:build:     package.json:13:6:
        @promptx/config:build:       13 │       "types": "./dist/index.d.ts"
        @promptx/config:build:          ╵       ~~~~~~~
        @promptx/config:build:
        @promptx/logger:build:     package.json:13:6:
        @promptx/config:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/logger:build:       13 │       "types": "./dist/index.d.ts"
        @promptx/config:build:
        @promptx/logger:build:          ╵       ~~~~~~~
        @promptx/logger:build:
        @promptx/logger:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/config:build:     package.json:11:6:
        @promptx/logger:build:
        @promptx/logger:build:     package.json:11:6:
        @promptx/config:build:       11 │       "import": "./dist/index.js",
        @promptx/config:build:          ╵       ~~~~~~~~
        @promptx/logger:build:       11 │       "import": "./dist/index.js",
        @promptx/config:build:
        @promptx/logger:build:          ╵       ~~~~~~~~
        @promptx/config:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/logger:build:
        @promptx/config:build:
        @promptx/logger:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/logger:build:
        @promptx/config:build:     package.json:12:6:
        @promptx/logger:build:     package.json:12:6:
        @promptx/config:build:       12 │       "require": "./dist/index.cjs",
        @promptx/config:build:          ╵       ~~~~~~~~~
        @promptx/config:build:
        @promptx/config:build:
        @promptx/config:build:
        @promptx/logger:build:       12 │       "require": "./dist/index.cjs",
        @promptx/logger:build:          ╵       ~~~~~~~~~
        @promptx/logger:build:
        @promptx/logger:build:
        @promptx/logger:build:
        @promptx/logger:build: DTS Build start
        @promptx/config:build: DTS Build start
        @promptx/config:build: DTS ⚡️ Build success in 1213ms
        @promptx/config:build: DTS dist\index.d.cts 940.00 B
        @promptx/config:build: DTS dist\index.d.ts  940.00 B
        @promptx/logger:build: DTS ⚡️ Build success in 1344ms
        @promptx/logger:build: DTS dist\index.d.ts  1.00 KB
        @promptx/logger:build: DTS dist\index.d.cts 1.00 KB
        @promptx/resource:build: cache bypass, force executing f4633758202a9106
        @promptx/resource:build:
        @promptx/resource:build: > @promptx/[email protected] build D:\developer\Deep\PromptX\packages\resource
        @promptx/resource:build: > tsup
        @promptx/resource:build:
        @promptx/resource:build: ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/resource:build:
        @promptx/resource:build:     package.json:12:6:
        @promptx/resource:build:       12 │       "types": "./dist/index.d.ts"
        @promptx/resource:build:          ╵       ~~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/resource:build:
        @promptx/resource:build:     package.json:10:6:
        @promptx/resource:build:       10 │       "import": "./dist/index.mjs",
        @promptx/resource:build:          ╵       ~~~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/resource:build:
        @promptx/resource:build:     package.json:11:6:
        @promptx/resource:build:       11 │       "require": "./dist/index.js",
        @promptx/resource:build:          ╵       ~~~~~~~~~
        @promptx/resource:build:
        @promptx/resource:build: CLI Building entry: src/index.ts
        @promptx/resource:build: CLI Using tsconfig: tsconfig.json
        @promptx/resource:build: CLI tsup v8.5.0
        @promptx/resource:build: CLI Using tsup config: D:\developer\Deep\PromptX\packages\resource\tsup.config.ts
        @promptx/resource:build: CLI Target: es2020
        @promptx/resource:build: CLI Cleaning output folder
        @promptx/resource:build: ESM Build start
        @promptx/resource:build: CJS Build start
        @promptx/resource:build:
        @promptx/resource:build:  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/resource:build:
        @promptx/resource:build:     package.json:12:6:
        @promptx/resource:build: CJS dist\index.js     15.84 KB
        @promptx/resource:build:       12 │       "types": "./dist/index.d.ts"
        @promptx/resource:build:          ╵       ~~~~~~~
        @promptx/resource:build: CJS dist\index.js.map 25.58 KB
        @promptx/resource:build: CJS ⚡️ Build success in 49ms
        @promptx/resource:build: ESM dist\index.mjs     14.13 KB
        @promptx/resource:build: ESM dist\index.mjs.map 25.47 KB
        @promptx/resource:build: ESM ⚡️ Build success in 50ms
        @promptx/resource:build:
        @promptx/resource:build: 🔍 Discovering resources...
        @promptx/resource:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/resource:build:
        @promptx/resource:build:     package.json:10:6:
        @promptx/resource:build:       10 │       "import": "./dist/index.mjs",
        @promptx/resource:build:          ╵       ~~~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/resource:build:
        @promptx/resource:build:     package.json:11:6:
        @promptx/resource:build:       11 │       "require": "./dist/index.js",
        @promptx/resource:build:          ╵       ~~~~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:  WARN  ▲ [WARNING] The CommonJS "module" variable is treated as a global variable in an ECMAScript module and may not work as expected [commonjs-variable-in-esm]
        @promptx/resource:build:
        @promptx/resource:build:     src/index.ts:244:0:
        @promptx/resource:build:       244 │ module.exports = {
        @promptx/resource:build:           ╵ ~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:   This file is considered to be an ECMAScript module because of the "export" keyword here:
        @promptx/resource:build:
        @promptx/resource:build:     src/index.ts:263:0:
        @promptx/resource:build:       263 │ export default resourcePackage
        @promptx/resource:build:           ╵ ~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:  WARN  ▲ [WARNING] The condition "types" here will never be used as it comes after both "import" and "require" [package.json]
        @promptx/resource:build:
        @promptx/resource:build:     package.json:12:6:
        @promptx/resource:build:       12 │       "types": "./dist/index.d.ts"
        @promptx/resource:build:          ╵       ~~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:   The "import" condition comes earlier and will be used for all "import" statements:
        @promptx/resource:build:
        @promptx/resource:build:     package.json:10:6:
        @promptx/resource:build:       10 │       "import": "./dist/index.mjs",
        @promptx/resource:build:          ╵       ~~~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:   The "require" condition comes earlier and will be used for all "require" calls:
        @promptx/resource:build: 🏗️ 开始生成资源注册表...
        @promptx/resource:build:
        @promptx/resource:build: 📁 资源包根目录: D:\developer\Deep\PromptX\packages\resource
        @promptx/resource:build:     package.json:11:6:
        @promptx/resource:build:       11 │       "require": "./dist/index.js",
        @promptx/resource:build:          ╵       ~~~~~~~~~
        @promptx/resource:build:    ✓ 发现 protocol 资源: dpml
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:    ✓ 发现 protocol 资源: pateoas
        @promptx/resource:build:    ✓ 发现 tag 资源: execution
        @promptx/resource:build:  WARN  ▲ [WARNING] The CommonJS "module" variable is treated as a global variable in an ECMAScript module and may not work as expected [commonjs-variable-in-esm]
        @promptx/resource:build:
        @promptx/resource:build:     src/index.ts:244:0:
        @promptx/resource:build:    ✓ 发现 tag 资源: resource
        @promptx/resource:build:       244 │ module.exports = {
        @promptx/resource:build:    ✓ 发现 tag 资源: role
        @promptx/resource:build:    ✓ 发现 tag 资源: terminology
        @promptx/resource:build:    ✓ 发现 tag 资源: thought
        @promptx/resource:build:    ✓ 发现 tag 资源: tool
        @promptx/resource:build:           ╵ ~~~~~~
        @promptx/resource:build:    ✓ 发现 role 资源: assistant
        @promptx/resource:build:
        @promptx/resource:build:    ✓ 发现 execution 资源: assistant
        @promptx/resource:build:   This file is considered to be an ECMAScript module because of the "export" keyword here:
        @promptx/resource:build:    ✓ 发现 thought 资源: assistant
        @promptx/resource:build:    ✓ 发现 execution 资源: bridge-design
        @promptx/resource:build:
        @promptx/resource:build:     src/index.ts:263:0:
        @promptx/resource:build:       263 │ export default resourcePackage
        @promptx/resource:build:    ✓ 发现 execution 资源: delivery-standards
        @promptx/resource:build:    ✓ 发现 execution 资源: integration-workflow
        @promptx/resource:build:           ╵ ~~~~~~
        @promptx/resource:build:
        @promptx/resource:build:
        @promptx/resource:build:    ✓ 发现 execution 资源: pattern-recognition
        @promptx/resource:build:    ✓ 发现 execution 资源: technical-research
        @promptx/resource:build:    ✓ 发现 execution 资源: testing-validation
        @promptx/resource:build:    ✓ 发现 execution 资源: tool-implementation
        @promptx/resource:build:
        @promptx/resource:build:    ✓ 发现 knowledge 资源: ai-context-awareness
        @promptx/resource:build:    ✓ 发现 knowledge 资源: api-usage
        @promptx/resource:build:    ✓ 发现 knowledge 资源: best-practices
        @promptx/resource:build:    ✓ 发现 knowledge 资源: integration-patterns
        @promptx/resource:build:    ✓ 发现 knowledge 资源: module-loading
        @promptx/resource:build:    ✓ 发现 knowledge 资源: tool-interface
        @promptx/resource:build:    ✓ 发现 role 资源: luban
        @promptx/resource:build:    ✓ 发现 thought 资源: dryrun-first
        @promptx/resource:build:    ✓ 发现 thought 资源: integration-first
        @promptx/resource:build:    ✓ 发现 thought 资源: pattern-thinking
        @promptx/resource:build:    ✓ 发现 thought 资源: problem-solving
        @promptx/resource:build:    ✓ 发现 thought 资源: research-first
        @promptx/resource:build:    ✓ 发现 thought 资源: technical-abstraction
        @promptx/resource:build:    ✓ 发现 thought 资源: tool-documentation
        @promptx/resource:build:    ✓ 发现 execution 资源: adaptive-learning
        @promptx/resource:build:    ✓ 发现 execution 资源: content-preservation
        @promptx/resource:build:    ✓ 发现 role 资源: noface
        @promptx/resource:build:    ✓ 发现 execution 资源: role-creation-workflow
        @promptx/resource:build:    ✓ 发现 execution 资源: role-modification-workflow
        @promptx/resource:build:    ✓ 发现 knowledge 资源: dpml-specification
        @promptx/resource:build:    ✓ 发现 knowledge 资源: issue-framework
        @promptx/resource:build:    ✓ 发现 knowledge 资源: promptx-architecture
        @promptx/resource:build:    ✓ 发现 knowledge 资源: role-constraints
        @promptx/resource:build:    ✓ 发现 knowledge 资源: sean-principles
        @promptx/resource:build:    ✓ 发现 role 资源: nuwa
        @promptx/resource:build:    ✓ 发现 thought 资源: ai-prompt-thinking
        @promptx/resource:build:    ✓ 发现 thought 资源: chat-is-all-you-need
        @promptx/resource:build:    ✓ 发现 thought 资源: dialogue-exploration
        @promptx/resource:build:    ✓ 发现 thought 资源: dpml-cognition
        @promptx/resource:build:    ✓ 发现 thought 资源: first-principles
        @promptx/resource:build:    ✓ 发现 thought 资源: occams-razor
        @promptx/resource:build:    ✓ 发现 thought 资源: orchestration-thinking
        @promptx/resource:build:    ✓ 发现 thought 资源: proactive-dialogue
        @promptx/resource:build:    ✓ 发现 thought 资源: role-design-thinking
        @promptx/resource:build:    ✓ 发现 thought 资源: semantic-gap
        @promptx/resource:build:    ✓ 发现 thought 资源: structure-process-thinking
        @promptx/resource:build:    ✓ 发现 execution 资源: decision
        @promptx/resource:build:    ✓ 发现 execution 资源: issue-collaboration
        @promptx/resource:build:    ✓ 发现 knowledge 资源: sean
        @promptx/resource:build:    ✓ 发现 role 资源: sean
        @promptx/resource:build:    ✓ 发现 thought 资源: cognition
        @promptx/resource:build:    ✓ 发现 thought 资源: cognitive-system
        @promptx/resource:build:    ✓ 发现 thought 资源: contradiction
        @promptx/resource:build:    ✓ 发现 thought 资源: issue
        @promptx/resource:build:    ✓ 发现 thought 资源: language-style
        @promptx/resource:build:    ✓ 发现 thought 资源: prompt-philosophy
        @promptx/resource:build:    ✓ 发现 execution 资源: writing-workflow
        @promptx/resource:build:    ✓ 发现 thought 资源: anti-ai-taste
        @promptx/resource:build:    ✓ 发现 thought 资源: authenticity-thinking
        @promptx/resource:build:    ✓ 发现 thought 资源: concrete-thinking
        @promptx/resource:build:    ✓ 发现 thought 资源: dynamic-depth
        @promptx/resource:build:    ✓ 发现 thought 资源: format-style
        @promptx/resource:build:    ✓ 发现 thought 资源: issue-paradigm
        @promptx/resource:build:    ✓ 发现 thought 资源: iterative-optimization
        @promptx/resource:build:    ✓ 发现 thought 资源: language-refinement
        @promptx/resource:build:    ✓ 发现 thought 资源: purpose-driven
        @promptx/resource:build:    ✓ 发现 thought 资源: reader-empathy
        @promptx/resource:build:    ✓ 发现 thought 资源: structure-thinking
        @promptx/resource:build:    ✓ 发现 thought 资源: value-focus
        @promptx/resource:build:    ✓ 发现 role 资源: writer
        @promptx/resource:build:    ✓ 发现 tool 资源: excel-tool
        @promptx/resource:build:    ✓ 发现 tool 资源: filesystem
        @promptx/resource:build:    ✓ 发现 tool 资源: pdf-reader
        @promptx/resource:build:    ✓ 发现 tool 资源: role-creator
        @promptx/resource:build:    ✓ 发现 tool 资源: tool-creator
        @promptx/resource:build:    ✓ 发现 tool 资源: word-tool
        @promptx/resource:build: ✅ 资源注册表生成完成!
        @promptx/resource:build: 📋 保存位置: D:\developer\Deep\PromptX\packages\resource\dist\registry.json
        @promptx/resource:build:
        @promptx/resource:build: 📊 资源统计:
        @promptx/resource:build:    protocol: 2 个
        @promptx/resource:build:    tag: 6 个
        @promptx/resource:build:    role: 6 个
        @promptx/resource:build:    execution: 15 个
        @promptx/resource:build:    thought: 37 个
        @promptx/resource:build:    knowledge: 12 个
        @promptx/resource:build:    tool: 6 个
        @promptx/resource:build:    总计: 84 个资源
        @promptx/resource:build:
        @promptx/resource:build: 📦 Copying package.json to dist...
        @promptx/resource:build: ✓ Package.json copied successfully
        @promptx/resource:build: 📦 Copying resources to dist...
        @promptx/resource:build: ✓ Resources copied successfully
        @promptx/resource:build: ✓ Registry generated successfully in dist/
        @promptx/resource:build: Build complete with resources
        @promptx/core:build: cache bypass, force executing 7a6deb07116d0930
        @promptx/core:build:
        @promptx/core:build: > @promptx/[email protected] build D:\developer\Deep\PromptX\packages\core
        @promptx/core:build: > tsup
        @promptx/core:build:
        @promptx/core:build: CLI Building entry: {"index":"src/index.js","cognition":"src/cognition/index.js","resource":"src/resource/index.js","toolx":"src/toolx/index.js"}
        @promptx/core:build: CLI Using tsconfig: tsconfig.json
        @promptx/core:build: CLI tsup v8.5.0
        @promptx/core:build: CLI Using tsup config: D:\developer\Deep\PromptX\packages\core\tsup.config.js
        @promptx/core:build: CLI Target: node14
        @promptx/core:build: CLI Cleaning output folder
        @promptx/core:build: CJS Build start
        @promptx/core:build: CJS dist\cognition.js     107.43 KB
        @promptx/core:build: CJS dist\resource.js      188.01 KB
        @promptx/core:build: CJS dist\toolx.js         213.52 KB
        @promptx/core:build: CJS dist\index.js         692.14 KB
        @promptx/core:build: CJS dist\cognition.js.map 181.26 KB
        @promptx/core:build: CJS dist\resource.js.map  267.97 KB
        @promptx/core:build: CJS dist\toolx.js.map     310.06 KB
        @promptx/core:build: CJS dist\index.js.map     1008.80 KB
        @promptx/core:build: CJS ⚡️ Build success in 154ms
        @promptx/core:build: Copying ESM wrapper...
        @promptx/core:build: ESM wrapper copied to dist/index.mjs
        @promptx/mcp-server:build: cache bypass, force executing 4443d22435c11169
        @promptx/mcp-server:build:
        @promptx/mcp-server:build: > @promptx/[email protected] build D:\developer\Deep\PromptX\packages\mcp-server
        @promptx/mcp-server:build: > tsup
        @promptx/mcp-server:build:
        @promptx/mcp-server:build: CLI Building entry: {"index":"src/index.ts","mcp-server":"src/bin/mcp-server.ts","worker":"src/workers/worker.ts"}
        @promptx/mcp-server:build: CLI Using tsconfig: tsconfig.json
        @promptx/mcp-server:build: CLI tsup v8.5.0
        @promptx/mcp-server:build: CLI Using tsup config: D:\developer\Deep\PromptX\packages\mcp-server\tsup.config.ts
        @promptx/mcp-server:build: CLI Target: es2020
        @promptx/mcp-server:build: CLI Cleaning output folder
        @promptx/mcp-server:build: ESM Build start
        @promptx/mcp-server:build: ESM dist\index.js              1.17 KB
        @promptx/mcp-server:build: ESM dist\mcp-server.js         7.16 KB
        @promptx/mcp-server:build: ESM dist\worker.js             1.02 KB
        @promptx/mcp-server:build: ESM dist\chunk-C5FGBIZW.js     42.16 KB
        @promptx/mcp-server:build: ESM dist\chunk-TT4AXKOT.js     37.01 KB
        @promptx/mcp-server:build: ESM dist\index.js.map          1.97 KB
        @promptx/mcp-server:build: ESM dist\worker.js.map         2.27 KB
        @promptx/mcp-server:build: ESM dist\mcp-server.js.map     12.46 KB
        @promptx/mcp-server:build: ESM dist\chunk-C5FGBIZW.js.map 87.41 KB
        @promptx/mcp-server:build: ESM dist\chunk-TT4AXKOT.js.map 36.48 KB
        @promptx/mcp-server:build: ESM ⚡️ Build success in 47ms
        @promptx/cli:build: cache bypass, force executing 1412843f521b3fb1
        @promptx/desktop:build: cache bypass, force executing 1ba8a3fb7411d43a
        @promptx/cli:build:
        @promptx/cli:build: > @promptx/[email protected] build D:\developer\Deep\PromptX\apps\cli
        @promptx/cli:build: > tsup
        @promptx/cli:build:
        @promptx/desktop:build:
        @promptx/desktop:build: > @promptx/[email protected] build D:\developer\Deep\PromptX\apps\desktop
        @promptx/desktop:build: > pnpm clean && electron-vite build
        @promptx/desktop:build:
        @promptx/desktop:build:
        @promptx/desktop:build: > @promptx/[email protected] clean D:\developer\Deep\PromptX\apps\desktop
        @promptx/desktop:build: > rimraf out dist release tsconfig.tsbuildinfo
        @promptx/desktop:build:
        @promptx/cli:build: CLI Building entry: src/bin/promptx.ts
        @promptx/cli:build: CLI Using tsconfig: tsconfig.json
        @promptx/cli:build: CLI tsup v8.5.0
        @promptx/cli:build: CLI Using tsup config: D:\developer\Deep\PromptX\apps\cli\tsup.config.ts
        @promptx/cli:build: CLI Target: es2020
        @promptx/cli:build: CLI Cleaning output folder
        @promptx/cli:build: ESM Build start
        @promptx/cli:build: ESM dist\promptx.js     8.94 KB
        @promptx/cli:build: ESM dist\promptx.js.map 15.16 KB
        @promptx/cli:build: ESM ⚡️ Build success in 20ms
        @promptx/desktop:build: vite v5.4.20 building SSR bundle for production...
        @promptx/desktop:build: transforming...
        @promptx/desktop:build: ✓ 103 modules transformed.
        @promptx/desktop:build: rendering chunks...
        @promptx/desktop:build: Copied en.json to main output
        @promptx/desktop:build: Copied zh-CN.json to main output
        @promptx/desktop:build: out/main/index.js             1.41 kB
        @promptx/desktop:build: out/main/index-CayLDEH4.js  236.16 kB
        @promptx/desktop:build: ✓ built in 656ms
        @promptx/desktop:build: vite v5.4.20 building SSR bundle for production...
        @promptx/desktop:build: transforming...
        @promptx/desktop:build: ✓ 1 modules transformed.
        @promptx/desktop:build: rendering chunks...
        @promptx/desktop:build: out/preload/preload.cjs  0.64 kB
        @promptx/desktop:build: ✓ built in 13ms
        @promptx/desktop:build: vite v5.4.20 building for production...
        @promptx/desktop:build: transforming...
        @promptx/desktop:build: src/view/components/ui/switch.tsx (2:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
        @promptx/desktop:build: src/view/components/ui/sidebar.tsx (2:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
        @promptx/desktop:build: src/view/components/ui/sheet.tsx (2:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
        @promptx/desktop:build: src/view/components/ui/select.tsx (2:0): Error when using sourcemap for reporting an error: Can't resolve original location of error.
        @promptx/desktop:build: ✓ 2744 modules transformed.
        @promptx/desktop:build: rendering chunks...
        @promptx/desktop:build: ../../out/renderer/index.html                          0.38 kB
        @promptx/desktop:build: ../../out/renderer/assets/icon-64x64-B6B6sFen.png      4.95 kB
        @promptx/desktop:build: ../../out/renderer/assets/index-DpLAnnXl.css          88.50 kB
        @promptx/desktop:build: ../../out/renderer/assets/index-Do9B8JU3.js        1,131.61 kB
        @promptx/desktop:build: ✓ built in 4.63s
        
         Tasks:    7 successful, 7 total
        Cached:    0 cached, 7 total
          Time:    14.35s
        

        Error_1122_build.PNG

        1 条回复 最后回复
        0
        回复
        • 在新帖中回复
        登录后回复
        • 从旧到新
        • 从新到旧
        • 最多赞同


        • 登录

        • 没有帐号? 注册

        • 第一个帖子
          最后一个帖子
        0
        • 版块
        • 最新
        • 标签
        • 热门
        • 用户
        • 群组