Bazmundi

Is it darn yarn or is it blinking npm that you are supposed to use to start a react app up

Dec 4th, 2021 (edited)
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. C:\Users\pierc\dev\react-flow>npx create-react-app my-app
  2.  
  3. Creating a new React app in C:\Users\pierc\dev\react-flow\my-app.
  4.  
  5. warning ..\..\..\package.json: No license field
  6. Installing packages. This might take a couple of minutes.
  7. Installing react, react-dom, and react-scripts with cra-template...
  8.  
  9. yarn add v1.22.5
  10. warning ..\..\..\package.json: No license field
  11. [1/4] Resolving packages...
  12. [2/4] Fetching packages...
  13. info [email protected]: The platform "win32" is incompatible with this module.
  14. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
  15. info [email protected]: The platform "win32" is incompatible with this module.
  16. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
  17. [3/4] Linking dependencies...
  18. 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".
  19. [4/4] Building fresh packages...
  20. success Saved lockfile.
  21. success Saved 7 new dependencies.
  22. info Direct dependencies
  23. info All dependencies
  24. Done in 29.27s.
  25.  
  26. Initialized a git repository.
  27.  
  28. Installing template dependencies using yarnpkg...
  29. yarn add v1.22.5
  30. warning ..\..\..\package.json: No license field
  31. [1/4] Resolving packages...
  32. [2/4] Fetching packages...
  33. info [email protected]: The platform "win32" is incompatible with this module.
  34. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
  35. info [email protected]: The platform "win32" is incompatible with this module.
  36. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
  37. [3/4] Linking dependencies...
  38. 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".
  39. warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=7.21.4".
  40. [4/4] Building fresh packages...
  41. success Saved lockfile.
  42. success Saved 16 new dependencies.
  43. info Direct dependencies
  44. ├─ @testing-library/[email protected]
  45. ├─ @testing-library/[email protected]
  46. ├─ @testing-library/[email protected]
  47. info All dependencies
  48. ├─ @testing-library/[email protected]
  49. ├─ @testing-library/[email protected]
  50. ├─ @testing-library/[email protected]
  51. ├─ @testing-library/[email protected]
  52. ├─ @types/[email protected]
  53. ├─ @types/[email protected]
  54. ├─ @types/[email protected]
  55. Done in 13.59s.
  56. Removing template package using yarnpkg...
  57.  
  58. yarn remove v1.22.5
  59. warning ..\..\..\package.json: No license field
  60. [1/2] Removing module cra-template...
  61. [2/2] Regenerating lockfile and installing missing dependencies...
  62. info [email protected]: The platform "win32" is incompatible with this module.
  63. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
  64. info [email protected]: The platform "win32" is incompatible with this module.
  65. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
  66. warning " > @testing-library/[email protected]" has unmet peer dependency "@testing-library/dom@>=7.21.4".
  67. 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".
  68. success Uninstalled packages.
  69. Done in 8.94s.
  70.  
  71. Created git commit.
  72.  
  73. Success! Created my-app at C:\Users\pierc\dev\react-flow\my-app
  74. Inside that directory, you can run several commands:
  75.  
  76. yarn start
  77. Starts the development server.
  78.  
  79. yarn build
  80. Bundles the app into static files for production.
  81.  
  82. yarn test
  83. Starts the test runner.
  84.  
  85. yarn eject
  86. Removes this tool and copies build dependencies, configuration files
  87. and scripts into the app directory. If you do this, you can’t go back!
  88.  
  89. We suggest that you begin by typing:
  90.  
  91. cd my-app
  92. yarn start
  93.  
  94. Happy hacking!
Add Comment
Please, Sign In to add comment