包错信息:CTypeError: Unknown file extension ".ts" for 解决方案:在 package.json 文件中将 【type:“module”】删除,注意将此代码注释是不可以解决这个问题的,必须要注释