public,使用create-react-app时未创建src&scripts文件夹

时间:2020-08-27 08:47:57

标签: reactjs create-react-app

我无法初始化React应用。

这些是运行后的日志

$ checksec --fortify-file=libapr-1.so
* FORTIFY_SOURCE support available (libc)    : Yes
* Binary compiled with FORTIFY_SOURCE support: Yes

 ------ EXECUTABLE-FILE ------- . -------- LIBC --------

 Fortifiable library functions | Checked function names
 -------------------------------------------------------
 gethostname                    | __gethostname_chk
 fdelt_chk                      | __fdelt_chk
 read                           | __read_chk
 getcwd                         | __getcwd_chk
 fprintf                        | __fprintf_chk
 fprintf_chk                    | __fprintf_chk
 memmove                        | __memmove_chk
 memset                         | __memset_chk
 memcpy_chk                     | __memcpy_chk
 memcpy                         | __memcpy_chk
 poll                           | __poll_chk
 strcpy                         | __strcpy_chk
 strcpy_chk                     | __strcpy_chk
 recvfrom                       | __recvfrom_chk

SUMMARY:

* Number of checked functions in libc                : 79
* Total number of library functions in the executable: 803
* Number of Fortifiable functions in the executable : 14
* Number of checked functions in the executable      : 4
* Number of unchecked functions in the executable    : 10
$ npx create-react-app practice

Creating a new React app in C:\Users\Youcorp Syed\React Tutorial\practice. Installing packages. This might take a couple of minutes. Installing react, react-dom, and react-scripts with cra-template... yarn add v1.22.4 [1/4] Resolving packages... [2/4] Fetching packages... info fsevents@1.2.12: The platform "win32" is incompatible with this module. info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation. info fsevents@2.1.2: The platform "win32" is incompatible with this module. info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning "react-scripts > @typescript-eslint/eslint-plugin tsutils@3.17.1" 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 23 new dependencies. info Direct dependencies Γö£ΓöÇ cra-template@1.0.3 Γö£ΓöÇ react-dom@16.13.1 Γö£ΓöÇ react-scripts@3.4.3 ΓööΓöÇ react@16.13.1 info All dependencies Γö£ΓöÇ @babel/helper-member-expression-to-functions@7.11.0 Γö£ΓöÇ @babel/plugin-syntax-typescript@7.10.4 Γö£ΓöÇ @babel/plugin-transform-flow-strip-types@7.9.0 Γö£ΓöÇ @babel/plugin-transform-runtime@7.9.0 Γö£ΓöÇ @babel/plugin-transform-typescript@7.11.0 Γö£ΓöÇ @babel/preset-typescript@7.9.0 Γö£ΓöÇ babel-preset-react-app@9.1.2 Γö£ΓöÇ cra-template@1.0.3 Γö£ΓöÇ eslint-config-react-app@5.2.1 Γö£ΓöÇ html-entities@1.3.1 Γö£ΓöÇ loglevel@1.7.0 Γö£ΓöÇ portfinder@1.0.28 Γö£ΓöÇ react-dev-utils@10.2.1 Γö£ΓöÇ react-dom@16.13.1 Γö£ΓöÇ react-error-overlay@6.0.7 Γö£ΓöÇ react-scripts@3.4.3 Γö£ΓöÇ react@16.13.1 Γö£ΓöÇ scheduler@0.19.1 Γö£ΓöÇ serialize-javascript@4.0.0 Γö£ΓöÇ sockjs@0.3.20 Γö£ΓöÇ spdy@4.0.2 Γö£ΓöÇ terser-webpack-plugin@2.3.8 ΓööΓöÇ webpack-dev-server@3.11.0 Done in 212.53s. 消息之后,它不再继续。

0 个答案:

没有答案