按照教程,我做的第一件事就是使用“”创建一个react应用程序。Installing react, react-dom, and react-scripts with cra-template...directory, you can run several commands:
Starts the development server.We suggest that you begin by typing:
np
我以前在完全相同的代码上执行过npmstart,没有任何错误。自从上次执行它时没有出现任何错误,我就没有对文件进行任何更改。但就在一天后,同样的代码突然出现了以下错误:> react-scripts start
Cannot use import statement outside但是,npm run b