Reactjs 反应Visual Studio代码无效选项对象错误
这是我第一次安装react to VS代码。完成了所有步骤,成功地创建了目录,但当我写“NPMStart”启动服务器时,它出错了Reactjs 反应Visual Studio代码无效选项对象错误,reactjs,visual-studio-code,Reactjs,Visual Studio Code,这是我第一次安装react to VS代码。完成了所有步骤,成功地创建了目录,但当我写“NPMStart”启动服务器时,它出错了 PS C:\Users\01!\Desktop\weather-react-app> npm start > weather-react-app@0.1.0 start > react-scripts start Invalid options object. React Refresh Plugin has been initialized
PS C:\Users\01!\Desktop\weather-react-app> npm start
> weather-react-app@0.1.0 start
> react-scripts start
Invalid options object. React Refresh Plugin has been initialized
using an options object that does not match the API schema.
- options.overlay.module: The provided value "C:\\Users\\01!\\Desktop\\weather-react-app\\node_modules\\react-dev-utils\\refreshOverlayInterop.js" contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.
这可能很愚蠢,但我检查了错误消息中提到的文件,没有“(!)”。如何修复此问题?它不是在抱怨文件,而是在抱怨目录--`C:\\Users\\01\`哦,好的。我应该更改计算机的用户名吗?如果可以的话,还是将其放在该用户的目录之外