Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shanghailiwei opened this issue Mar 13, 2024 · 0 comments

Comments

@shanghailiwei
Copy link

[email protected] 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant