ts-node报错

问题:编译之后提示 cannot find name 'console'

解决方案:// 1. 删掉原来的包 npm uninstall ts-node -g // 2. 下载指定的包(这个版本试了是可以的) npm i -g ts-node@8.5.4 

posted @ 2022-03-03 00:13  喵喵队立大功  阅读(118)  评论(0编辑  收藏  举报