title: React Cannot Start Project - 'craco' is not recognized as an internal or external command
body: <p>is anyone able to tell me why I cannot start up my website project on the development server?</p>
  <p>I've cloned a file on Windows 10, this used to work fine on my Mac OS ... before it died :'(Feel free to try the project: <a href="https://github.com/EMDevelop/j2c" rel="noreferrer">https://github.com/EMDevelop/j2c</a></p>
  <p>When I run <code>npm start</code>, I get the following message</p>
  <pre><code>&gt; just2connect@0.1.0 start C:\Users\Ed\Desktop\Coding\React\j2c
  &gt; craco start
  
  'craco' is not recognized as an internal or external command,
  operable program or batch file.
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! just2connect@0.1.0 start: `craco start`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the just2connect@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\Ed\AppData\Roaming\npm-cache\_logs\2021-03-26T16_11_19_513Z-debug.log
  </code></pre>
  <p><strong>This is strange because</strong> I have <code>&quot;craco&quot;: &quot;0.0.3&quot;</code> as a dependency, and <code>&quot;start&quot;: &quot;craco start&quot;</code> as a script within my <code>package.json</code>.</p>
  <p>I also have the <code>craco.config</code> file within the project, and <code>@craco</code> folder in the <code>node_modules</code> folder.</p>
  <p>When I then try and install craco again (<code>npm i @craco/craco</code>) and run <code>npm start</code>, i get the below error asking me to install the dependencies:</p>
  <pre><code>C:\Users\Ed\Desktop\Coding\React\j2c&gt;npm i @craco/craco
  npm WARN bootstrap@4.6.0 requires a peer of popper.js@^1.16.1 but none is installed. You must install peer dependencies yourself.
  npm WARN radium@0.25.2 requires a peer of react@^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
  npm WARN react-coverflow@0.2.20 requires a peer of react@^16.5.2 but none is installed. You must install peer dependencies yourself.
  npm WARN react-native-elements@3.2.0 requires a peer of react-native-vector-icons@&gt;7.0.0 but none is installed. You must install peer dependencies yourself.
  npm WARN react-native-elements@3.2.0 requires a peer of react-native-safe-area-context@^3.1.9 but none is installed. You must install peer dependencies yourself.
  npm WARN react-native-ratings@7.3.0 requires a peer of react-native@* but none is installed. You must install peer dependencies yourself.
  npm WARN react-native-size-matters@0.3.1 requires a peer of react-native@* but none is installed. You must install peer dependencies yourself.
  npm WARN react-only-when@1.0.2 requires a peer of react@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
  npm WARN react-only-when@1.0.2 requires a peer of react-dom@^15.0.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
  npm WARN react-particles-js@3.4.1 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
  npm WARN react-swipeable@5.5.1 requires a peer of react@^16.0.0-0 but none is installed. You must install peer dependencies yourself.
  npm WARN react-testimonial@1.0.0 requires a peer of react@^16.11.0 but none is installed. You must install peer dependencies yourself.
  npm WARN tsutils@3.20.0 requires a peer of typescript@&gt;=2.8.0 || &gt;= 3.2.0-dev || &gt;= 3.3.0-dev || &gt;= 3.4.0-dev || &gt;= 3.5.0-dev || &gt;= 3.6.0-dev || &gt;= 3.6.0-beta || &gt;= 3.7.0-dev || &gt;= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
  
  npm ERR! code EEXIST
  npm ERR! path C:\Users\Ed\Desktop\Coding\React\j2c\node_modules\.bin\craco
  npm ERR! Refusing to delete C:\Users\Ed\Desktop\Coding\React\j2c\node_modules\.bin\craco: is outside C:\Users\Ed\Desktop\Coding\React\j2c\node_modules\@craco\craco and not a link
  npm ERR! File exists: C:\Users\Ed\Desktop\Coding\React\j2c\node_modules\.bin\craco
  npm ERR! Remove the existing file and try again, or run npm
  npm ERR! with --force to overwrite files recklessly.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\Ed\AppData\Roaming\npm-cache\_logs\2021-03-26T16_29_51_457Z-debug.log
  </code></pre>
  <p><strong>This is strange also because</strong> I have most of these dependencies inside of the <code>node_modules</code> folder (and <code>package.json</code>):</p>
  <p><a href="https://i.stack.imgur.com/arB3O.png" rel="noreferrer"><img src="https://i.stack.imgur.com/arB3O.png" alt="Packages.Json Screenshot" /></a></p>
  <p>I'm concerned about just recklessly forcing craco to replace the old version, and will I then have to do that for every dependency it has given me the warning for? most of which dependencies already exist.</p>
  <p>Then when I try and run <code>npm start</code> again, it gives me the error as if I never had craco installed again:</p>
  <pre><code>C:\Users\Ed\Desktop\Coding\React\j2c&gt;npm start
  
  &gt; just2connect@0.1.0 start C:\Users\Ed\Desktop\Coding\React\j2c
  &gt; craco start
  
  'craco' is not recognized as an internal or external command,
  operable program or batch file.
  npm ERR! code ELIFECYCLE
  npm ERR! errno 1
  npm ERR! just2connect@0.1.0 start: `craco start`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the just2connect@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\Ed\AppData\Roaming\npm-cache\_logs\2021-03-26T16_30_25_218Z-debug.log
  
  </code></pre>
  <p>Any help would be greatly appreciated!! pulling my hair out, I'm new to Windows.</p>