M
M
mishap452020-10-26 21:51:08
typescript
mishap45, 2020-10-26 21:51:08

Created an app via npx create-react-app my-app --template typescript and npm start throws an error. What to do?

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:\\!gg\\my-app\\node_modules\\react-dev-utils\\refreshOverlayInterop.js" contains exclamation mark (!) which is not allowed because it's
reserved for loader syntax.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `react-scripts start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\pavlo\AppData\Roaming\npm-cache\_logs\2020-10-26T18_49_43_832Z-debug.log

Process finished with exit code 1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
valentinmamontov, 2020-10-26
@mishap45

I googled your mistake, it seems that the problem is in your !gg folder, but in ! sign. Try to create a template in a new folder.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question