tw93 / Pake

🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
MIT License
32.99k stars 5.72k forks source link

macos 构建失败,node16、18都有试过 #589

Closed bing127 closed 1 year ago

bing127 commented 1 year ago

npm ERR! Cannot read properties of null (reading 'matches')

file:///opt/homebrew/lib/node_modules/pake-cli/dist/cli.js:375 reject(new Error(${code})); ^

Error: 1 at file:///opt/homebrew/lib/node_modules/pake-cli/dist/cli.js:375:24 at /opt/homebrew/lib/node_modules/pake-cli/node_modules/.store/shelljs@0.8.5/node_modules/shelljs/src/exec.js:145:9 at ChildProcess.exithandler (node:child_process:430:5) at ChildProcess.emit (node:events:517:28) at maybeClose (node:internal/child_process:1098:16) at Socket. (node:internal/child_process:450:11) at Socket.emit (node:events:517:28) at Pipe. (node:net:350:12)

Solution

No response

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

Tlntin commented 1 year ago

可以试试nvm管理nodejs

tw93 commented 1 year ago

使用Node18