我在 [1,1] 处的 tsconfig.json 文件中收到此错误六次:
Cannot find type definition file for 'body-parser'.
The file is in the program because:
Entry point for implicit type library 'body-parser'
Run Code Online (Sandbox Code Playgroud)
我真的不确定为什么会收到此错误,更不用说六次了。任何帮助将不胜感激。
这是我的 tsconfig:
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
/* Projects */
// "incremental": true, /* Enable incremental compilation */
// "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
// "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo …Run Code Online (Sandbox Code Playgroud)