wechaty / puppet-padlocal

Puppet PadLocal is a Pad Protocol for WeChat
https://wechaty.js.org/docs/puppet-providers/padlocal
Apache License 2.0
638 stars 88 forks source link

TypeScript版本从 5.4.2 降低到 5, 仍然报错. 有什么办法解决吗? #289

Open shanghailiwei opened 6 months ago

shanghailiwei commented 6 months ago

wechaty-puppet-padlocal@1.20.1 build tsc && tsc -p tsconfig.cjs.json

error TS5101: Option 'importsNotUsedAsValues' is deprecated and will stop functioning in TypeScript 5.5. Specify compilerOption '"ignoreDeprecations": "5.0"' to silence this error. Use 'verbatimModuleSyntax' instead.

Found 1 error.

ERROR: "build" exited with 1. ERROR: "dist" exited with 1. npm ERR! code 1 npm ERR! path /sdb/github/wechat/wechaty/puppet-padlocal npm ERR! command failed npm ERR! command sh -c npm-run-all dist

npm ERR! A complete log of this run can be found in: /www/server/nodejs/v18.19.0/cache/_logs/2024-03-13T17_11_46_493Z-debug-0.log