Skip to content

Windows 7 64位系统(Node.js v18.20.2 + npm 10.5.0 )报错,求大神给一个能在win7下运行的package.json(急!急!急!) #194

@zhlyxy

Description

@zhlyxy

.../esbuild@0.25.1/node_modules/esbuild postinstall$ node install.js
│ node:internal/errors:865
│ const err = new Error(message);
│ ^
│ Error: Command failed: C:\Program Files\nodejs\node.exe D:\vue3_project\vue3-element-admin\node_modules.pnpm\esbuild@0.25.1\node_modules\esbuild\bin\esbuild --version
│ Exception 0xc0000005 0x8 0x0 0x0
│ PC=0x0
│ runtime.asmstdcall(0x9e0a00060009)
│ runtime/sys_windows_amd64.s:76 +0x89 fp=0xdbf9a0 sp=0xdbf980 pc=0x98e69
│ rax 0x0
│ rbx 0x9fc780
│ rcx 0xa444a8
│ rdx 0x20
│ rdi 0x7fffffde000
│ rsi 0xdbfb98
│ rbp 0xdbfae0
│ rsp 0xdbf978
│ r8 0x9fc4a0
│ r9 0xa440ca
│ r10 0xb6a2e8
│ r11 0xc000004000
│ r12 0xdbfbe8
│ r13 0x0
│ r14 0x9fb660
│ r15 0x3
│ rip 0x0
│ rflags 0x10246
│ cs 0x33
│ fs 0x53
│ gs 0x2b
│ node:child_process:929
│ throw err;
│ ^
│ Error: Command failed: D:\vue3_project\vue3-element-admin\node_modules.pnpm@esbuild+win32-x64@0.25.1\node_modules@esbuild\win32-x64\esbuild.exe --version
│ at checkExecSyncError (node:child_process:890:11)
│ at Object.execFileSync (node:child_process:926:15)
│ at Object. (D:\vue3_project\vue3-element-admin\node_modules.pnpm\esbuild@0.25.1\node_modules\esbuild\bin\esbuild:221:28)
│ at Module._compile (node:internal/modules/cjs/loader:1364:14)
│ at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
│ at Module.load (node:internal/modules/cjs/loader:1203:32)
│ at Module._load (node:internal/modules/cjs/loader:1019:12)
│ at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
│ at node:internal/main/run_main_module:28:49 {
│ status: 2,
│ signal: null,
│ output: [ null, null, null ],
│ pid: 13324,
│ stdout: null,
│ stderr: null
│ }
│ Node.js v18.20.2
│ at checkExecSyncError (node:child_process:890:11)
│ at Object.execFileSync (node:child_process:926:15)
│ at validateBinaryVersion (D:\vue3_project\vue3-element-admin\node_modules.pnpm\esbuild@0.25.1\node_modules\esbuild\install.js:101:28)
│ at D:\vue3_project\vue3-element-admin\node_modules.pnpm\esbuild@0.25.1\node_modules\esbuild\install.js:283:5 {
│ status: 1,
│ signal: null,
node_modules/.pnpm/esbuild@0.18.20/node_modules/esbuild: Running postinstall script, done in 433ms
│ null,
│ Buffer(0) [Uint8Array] [],
│ Buffer(1480) [Uint8Array] [
│ 69, 120, 99, 101, 112, 116, 105, 111, 110, 32, 48, 120,
│ 99, 48, 48, 48, 48, 48, 48, 53, 32, 48, 120, 56,
│ 32, 48, 120, 48, 32, 48, 120, 48, 10, 80, 67, 61,
│ 48, 120, 48, 10, 10, 114, 117, 110, 116, 105, 109, 101,
│ 46, 97, 115, 109, 115, 116, 100, 99, 97, 108, 108, 40,
│ 48, 120, 57, 101, 48, 97, 48, 48, 48, 54, 48, 48,
│ 48, 57, 41, 10, 9, 114, 117, 110, 116, 105, 109, 101,
│ 47, 115, 121, 115, 95, 119, 105, 110, 100, 111, 119, 115,
│ 95, 97, 109, 100,
│ ... 1380 more items
│ ]
│ ],
│ pid: 14000,
│ stdout: Buffer(0) [Uint8Array] [],
│ stderr: Buffer(1480) [Uint8Array] [
│ 69, 120, 99, 101, 112, 116, 105, 111, 110, 32, 48, 120,
│ 99, 48, 48, 48, 48, 48, 48, 53, 32, 48, 120, 56,
│ 32, 48, 120, 48, 32, 48, 120, 48, 10, 80, 67, 61,
│ 48, 120, 48, 10, 10, 114, 117, 110, 116, 105, 109, 101,
│ 46, 97, 115, 109, 115, 116, 100, 99, 97, 108, 108, 40,
│ 48, 120, 57, 101, 48, 97, 48, 48, 48, 54, 48, 48,
│ 48, 57, 41, 10, 9, 114, 117, 110, 116, 105, 109, 101,
│ 47, 115, 121, 115, 95, 119, 105, 110, 100, 111, 119, 115,
│ 95, 97, 109, 100,
│ ... 1380 more items
│ ]
│ }
│ Node.js v18.20.2
└─ Failed in 325ms at D:\vue3_project\vue3-element-admin\node_modules.pnpm\esbuild@0.25.1\node_modules\esbuild

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions