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)
82
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 fsevents@1.2.13: The platform "win32" is incompatible with this module.
  14. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
  15. info fsevents@2.3.2: The platform "win32" is incompatible with this module.
  16. info "fsevents@2.3.2" 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 > tsutils@3.20.0" 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. ├─ cra-template@1.1.2
  24. ├─ react-dom@17.0.2
  25. ├─ react-scripts@4.0.3
  26. └─ react@17.0.2
  27. info All dependencies
  28. ├─ cra-template@1.1.2
  29. ├─ immer@8.0.1
  30. ├─ react-dev-utils@11.0.4
  31. ├─ react-dom@17.0.2
  32. ├─ react-scripts@4.0.3
  33. ├─ react@17.0.2
  34. └─ scheduler@0.20.2
  35. Done in 29.27s.
  36.  
  37. Initialized a git repository.
  38.  
  39. Installing template dependencies using yarnpkg...
  40. yarn add v1.22.5
  41. warning ..\..\..\package.json: No license field
  42. [1/4] Resolving packages...
  43. [2/4] Fetching packages...
  44. info fsevents@2.3.2: The platform "win32" is incompatible with this module.
  45. info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
  46. info fsevents@1.2.13: The platform "win32" is incompatible with this module.
  47. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
  48. [3/4] Linking dependencies...
  49. warning "react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.20.0" 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".
  50. warning " > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".
  51. [4/4] Building fresh packages...
  52. success Saved lockfile.
  53. success Saved 16 new dependencies.
  54. info Direct dependencies
  55. ├─ @testing-library/jest-dom@5.16.0
  56. ├─ @testing-library/react@11.2.7
  57. ├─ @testing-library/user-event@12.8.3
  58. ├─ react-dom@17.0.2
  59. ├─ react@17.0.2
  60. └─ web-vitals@1.1.2
  61. info All dependencies
  62. ├─ @testing-library/dom@7.31.2
  63. ├─ @testing-library/jest-dom@5.16.0
  64. ├─ @testing-library/react@11.2.7
  65. ├─ @testing-library/user-event@12.8.3
  66. ├─ @types/aria-query@4.2.2
  67. ├─ @types/jest@27.0.3
  68. ├─ @types/testing-library__jest-dom@5.14.2
  69. ├─ css.escape@1.5.1
  70. ├─ css@3.0.0
  71. ├─ lz-string@1.4.4
  72. ├─ min-indent@1.0.1
  73. ├─ react-dom@17.0.2
  74. ├─ react@17.0.2
  75. ├─ redent@3.0.0
  76. ├─ strip-indent@3.0.0
  77. └─ web-vitals@1.1.2
  78. Done in 13.59s.
  79. Removing template package using yarnpkg...
  80.  
  81. yarn remove v1.22.5
  82. warning ..\..\..\package.json: No license field
  83. [1/2] Removing module cra-template...
  84. [2/2] Regenerating lockfile and installing missing dependencies...
  85. info fsevents@2.3.2: The platform "win32" is incompatible with this module.
  86. info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
  87. info fsevents@1.2.13: The platform "win32" is incompatible with this module.
  88. info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
  89. warning " > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".
  90. warning "react-scripts > @typescript-eslint/eslint-plugin > tsutils@3.20.0" 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".
  91. success Uninstalled packages.
  92. Done in 8.94s.
  93.  
  94. Created git commit.
  95.  
  96. Success! Created my-app at C:\Users\pierc\dev\react-flow\my-app
  97. Inside that directory, you can run several commands:
  98.  
  99. yarn start
  100. Starts the development server.
  101.  
  102. yarn build
  103. Bundles the app into static files for production.
  104.  
  105. yarn test
  106. Starts the test runner.
  107.  
  108. yarn eject
  109. Removes this tool and copies build dependencies, configuration files
  110. and scripts into the app directory. If you do this, you can’t go back!
  111.  
  112. We suggest that you begin by typing:
  113.  
  114. cd my-app
  115. yarn start
  116.  
  117. Happy hacking!
Add Comment
Please, Sign In to add comment