Pake icon indicating copy to clipboard operation
Pake copied to clipboard

Cannot set properties of null (setting 'peer') 报错

Open sydeEvans opened this issue 3 years ago • 2 comments

$ pake https://www.baidu.com --transparent now platform is darwin ✔ please input your application name … baidu You have not provided an app icon, use the default icon.(use --icon option to assign an icon) npm ERR! Cannot set properties of null (setting 'peer')

npm ERR! A complete log of this run can be found in: npm ERR! /Users/evans/.npm/_logs/2022-12-07T03_42_21_515Z-debug-0.log file:///Users/evans/.nvm/versions/node/v16.14.2/lib/node_modules/pake-cli/dist/cli.js:1786 reject(new Error(${code})); ^

Error: 1 at file:///Users/evans/.nvm/versions/node/v16.14.2/lib/node_modules/pake-cli/dist/cli.js:1786:24 at /Users/evans/.nvm/versions/node/v16.14.2/lib/node_modules/pake-cli/node_modules/[email protected]@shelljs/src/exec.js:145:9 at ChildProcess.exithandler (node:child_process:406:5) at ChildProcess.emit (node:events:526:28) at maybeClose (node:internal/child_process:1092:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

sydeEvans avatar Dec 07 '22 03:12 sydeEvans

看起来像是npmcli的bug https://github.com/npm/cli/issues/3711 试试删node_modules或者npm uninstall后重新安装呢?

wanghanzhen avatar Dec 07 '22 14:12 wanghanzhen

ok thank you good

niuhuheyi avatar Dec 11 '22 15:12 niuhuheyi

一个问题 参考这里 https://github.com/tw93/Pake/issues/132#issuecomment-1345753887

tw93 avatar Dec 12 '22 03:12 tw93

good verygood thankyou

niuhuheyi avatar Dec 12 '22 06:12 niuhuheyi