美文网首页
2019-12-13 react begining

2019-12-13 react begining

作者: 反复练习的阿离很笨吧 | 来源:发表于2019-12-13 21:56 被阅读0次
    DELL@DESKTOP-C10HVVC MINGW64 /d/web/react/learnmooc
    $ npx create-react-app my-app todolist
    npx: 91 安装成功,用时 24.721 秒
    
    Creating a new React app in D:\web\react\learnmooc\my-app.
    
    Installing packages. This might take a couple of minutes.
    Installing react, react-dom, and react-scripts with cra-template...
    
    
    > core-js@2.6.11 postinstall D:\web\react\learnmooc\my-app\node_modules\babel-runtime\node_modules\core-js
    > node -e "try{require('./postinstall')}catch(e){}"
    
    
    > core-js@3.5.0 postinstall D:\web\react\learnmooc\my-app\node_modules\core-js
    > node -e "try{require('./postinstall')}catch(e){}"
    
    
    > core-js-pure@3.5.0 postinstall D:\web\react\learnmooc\my-app\node_modules\core-js-pure
    > node -e "try{require('./postinstall')}catch(e){}"
    
    + react-dom@16.12.0
    + react-scripts@3.3.0
    + react@16.12.0
    + cra-template@1.0.0
    added 1532 packages from 745 contributors and audited 905971 packages in 317.434s
    found 0 vulnerabilities
    
    
    Installing template dependencies using npm...
    npm WARN tsutils@3.17.1 requires a peer of 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 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.10 (node_modules\jest-haste-map\node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.10: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.10 (node_modules\chokidar\node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.10: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    
    + @testing-library/jest-dom@4.2.4
    + @testing-library/user-event@7.1.2
    + @testing-library/react@9.3.3
    added 16 packages from 37 contributors and audited 906143 packages in 22.926s
    found 0 vulnerabilities
    
    Removing template package using npm...
    
    npm WARN tsutils@3.17.1 requires a peer of 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 but none is installed. You must install peer dependencies yourself.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.10 (node_modules\jest-haste-map\node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.10: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.10 (node_modules\chokidar\node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.10: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
    
    removed 1 package and audited 906142 packages in 7.148s
    found 0 vulnerabilities
    
    
    Initialized a git repository.
    
    Success! Created my-app at D:\web\react\learnmooc\my-app
    Inside that directory, you can run several commands:
    
      npm start
        Starts the development server.
    
      npm run build
        Bundles the app into static files for production.
    
      npm test
        Starts the test runner.
    
      npm run eject
        Removes this tool and copies build dependencies, configuration files
        and scripts into the app directory. If you do this, you can’t go back!
    
    We suggest that you begin by typing:
    
      cd my-app
      npm start
    
    Happy hacking!
    

    相关文章

      网友评论

          本文标题:2019-12-13 react begining

          本文链接:https://www.haomeiwen.com/subject/hdpqnctx.html