-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Description
Describe the bug
my-app@0.1.0 start F:!JS\my-app
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 "F:\!JS\my-app\node_modules\react-dev-utils\refreshOverlayInterop.js" contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.
F:!JS\my-app\node_modules\react-dev-utils\refreshOverlayInterop.js
// @remove-on-eject-begin
/**
- Copyright (c) 2015-present, Facebook, Inc.
- This source code is licensed under the MIT license found in the
- LICENSE file in the root directory of this source tree.
*/
// @remove-on-eject-end
'use strict';
const {
dismissRuntimeErrors,
reportRuntimeError,
} = require('react-error-overlay');
module.exports = {
clearRuntimeErrors: dismissRuntimeErrors,
handleRuntimeError: reportRuntimeError,
};
Environment
(Win10)
npm -version
6.14.10
node --version
v14.15.4
VSCode
Steps to reproduce
- npx create-react-app my-app
- cd my-app
- npm start
SanariSan and niteshthemerndeveloper