question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I write create-react-app myapp, after all installations I write npm start, and an error appears. Why?

{Failed to compile.

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.module.rules[2].oneOf[1].include: The provided value “D:\!BisnesHelper\bisness\src” contains exclamation mark (!) which is not allowed because it’s reserved for loader syntax.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bisness@0.1.0 start: react-scripts start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bisness@0.1.0 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\Lenovo\AppData\Roaming\npm-cache_logs\2020-08-04T11_10_57_995Z-debug.log PS D:!BisnesHelper\bisness> npm start

bisness@0.1.0 start D:!BisnesHelper\bisness react-scripts start

Failed to compile.

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.module.rules[2].oneOf[1].include: The provided value “D:\!BisnesHelper\bisness\src” contains exclamation mark (!) which is not allowed because it’s reserved for loader syntax.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bisness@0.1.0 start: react-scripts start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bisness@0.1.0 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\Lenovo\AppData\Roaming\npm-cache_logs\2020-08-04T11_15_23_920Z-debug.log}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
SergeOlabincommented, Sep 5, 2020

try removing “!” in the folder name… i usually do the same - put "!’ so that it would be sorted to the top, in this case webpack has reservation for that symbol …

0reactions
iansucommented, Jun 2, 2021

I don’t think there’s much we can do about this one. Just avoid directory names that start with !.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Definition & Meaning - Merriam-Webster
a · an act or condition of ignorant or imprudent deviation from a code of behavior ; b · an act involving an...
Read more >
error - Wiktionary
(uncountable) The state, quality, or condition of being wrong. · (countable) A mistake; an accidental wrong action or a false statement not made...
Read more >
Error | Apple Developer Documentation
A type representing an error value that can be thrown.
Read more >
Error Definition & Meaning - Dictionary.com
error · a deviation from accuracy or correctness; a mistake, as in action or speech: His speech contained several factual errors. · belief...
Read more >
66 Synonyms & Antonyms for ERROR - Thesaurus.com
Find 66 ways to say ERROR, along with antonyms, related words, and example sentences at Thesaurus.com, the world's most trusted free thesaurus.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found