I can’t run create-React-app

Asked

Viewed 102 times

0

When executing npx create-react-app my-app my terminal is not completed and at the end is created the folder that way:

└─ my-app
    ├─ node_modules
    ├─ package.json
    └─ yarn.lock

I’ve tried to npm uninstall -g create-react-app and then again the npx create-react-app my-app but it didn’t work. I’ve also deleted the folder with those files several times. How can I make it work?


Terminal message:

yarn add v1.22.5
[1/4] Resolving packages...
**warning** react-scripts > [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
**warning** react-scripts > workbox-webpack-plugin > workbox-build > @hapi/[email protected]: Switch to 'npm install joi'
**warning** react-scripts > workbox-webpack-plugin > workbox-build > [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
**warning** react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > [email protected]: request-promise-native 
has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
**warning** react-scripts > jest > @jest/core > jest-config > jest-environment-jsdom > jsdom > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
[2/4] Fetching packages...
**info** [email protected]: The platform "win32" is incompatible with this module.
**info** "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
**info** [email protected]: The platform "win32" is incompatible with this module.
**info** "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
**warning** "react-scripts > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 
3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
[4/4] Building fresh packages...
success Saved lockfile.
success Saved 331 new dependencies.
info Direct dependencies
├─ [email protected]
├─ [email protected]
├─ [email protected]
└─ [email protected]
info All dependencies
└─ (várias dependências aqui)
Done in 509.92s.
  • What error? The message does not seem to indicate that there was a problem.

  • Hey, @Luizfelipe! The necessary files like the public folder and src are not created. Upload ends but is not finished, does not have the success message.

  • Did you delete the folder and try again? or just uninstalled?

  • I deleted the folder and tried again several times in addition to uninstall

  • @Anatorres if you are not creating the files, it may be a question of permission, make sure you have permission in the folder so that the files can be generated.

1 answer

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.