目录
一、使用命令编译typescript时报错,报错文件tsconfig.json
二、npm start运行后报错,could not find module
一、使用命令编译typescript时报错,报错文件tsconfig.json
npx tsc
报错:
Specified 'include' paths were '["src/**/*"]' and 'exclude' paths were '["D:/jay_workspace/nodejs/my_node_hid/dist"]'.
解决方法:
删掉tsconfig.json文件,使用命令生成
tsc --init