You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The problem is in the folder path, your path contains an exclamation mark! not in the node_module folder but in your local folder. If you move your project to any other folder it should work fine.
Activity
jakubsuchybio commentedon Mar 23, 2021
I also have this problems, is there any solution?
jakubsuchybio commentedon Mar 23, 2021
The problem is that the PATH contains exclamation mark "!", if you move your repo to the path without any "!", it then works...
michelgrolet commentedon Aug 18, 2021
@jakubsuchybio
Thank you so much ! I feel so stupid, I have been stuck for a day because of this error.
sebastianf777 commentedon Sep 10, 2021
I love you man YOU MUST KNOW!
DonnaLit commentedon Sep 15, 2021
In my case. The file was not found hence the error. I created refreshOverlayIntertrops.js with is code:
// @remove-on-eject-begin
/**
*/
// @remove-on-eject-end
'use strict';
const {
dismissRuntimeErrors,
reportRuntimeError,
} = require('react-error-overlay');
module.exports = {
clearRuntimeErrors: dismissRuntimeErrors,
handleRuntimeError: reportRuntimeError,
};
My problem was sorted
rootfellen commentedon Oct 20, 2021
Thank you, it helped me.
niteshthemerndeveloper commentedon Dec 5, 2021
The problem is in the folder path, your path contains an exclamation mark! not in the node_module folder but in your local folder. If you move your project to any other folder it should work fine.
Let's Master React!
AliceSum commentedon May 12, 2022
#11762
Same issue