create-react-app-typescript:error TS2304:找不到名字'require'

我正在使用create-react-app-typescript工具构build一个反应应用程序。 我已经能够通过运行该工具并按照说明构build2个testing应用程序。 现在突然当我运行npm start我得到这个错误:

 error TS2304: Cannot find name 'require'. 

但是我input了我的types。 这是我的node_modules / @ types文件夹: 在这里输入图像描述

这是产生这个错误的行:

 const logo = require('./logo.svg'); 

编译器不能简单地解决这个resolve 。 我会再说一遍,直到几个小时前。

有可能是我没有做这个工具create-react-app-typescript 。 任何帮助和任何build议将不胜感激。