美文网首页
This git repository has untracke

This git repository has untracke

作者: aibinMr | 来源:发表于2019-05-02 11:24 被阅读0次

    > my-app@0.1.0 eject F:\ReactSpace\my-app

    > react-scripts eject

    NOTE: Create React App 2+ supports TypeScript, Sass, CSS Modules and more without ejecting: https://reactjs.org/blog/2018/10/01/create-react-app-v2.html

    ? Are you sure you want to eject? This action is permanent. Yes

    This git repository has untracked files or uncommitted changes:

    package-lock.json

    M package.json

    M public/favicon.ico

    M public/index.html

    M src/App.js

    public/asset/

    src/components/

    src/css/

    src/pages/

    Remove untracked files, stash or commit any changes, and try again.

    npm ERR! code ELIFECYCLE

    npm ERR! errno 1

    npm ERR! my-app@0.1.0 eject: `react-scripts eject`

    npm ERR! Exit status 1

    npm ERR!

    npm ERR! Failed at the my-app@0.1.0 eject script.

    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:

    npm ERR!    C:\Users\wds\AppData\Roaming\npm-cache\_logs\2019-05-02T03_12_42_245Z-debug.log

    F:\ReactSpace\my-app>git init

    Reinitialized existing Git repository in F:/ReactSpace/my-app/.git/

    F:\ReactSpace\my-app>git add .

    warning: LF will be replaced by CRLF in package-lock.json.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in package.json.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in public/index.html.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in src/App.js.

    The file will have its original line endings in your working directory

    F:\ReactSpace\my-app>git commit -m '初始化项目'

    [master 5f325e4] '初始化项目'

    19 files changed, 729 insertions(+), 36 deletions(-)

    create mode 100644 public/asset/img/bg/index-header.png

    create mode 100644 public/asset/img/icon/magnifier-right.svg

    create mode 100644 public/asset/img/logo/headerNaviLogo.png

    create mode 100644 public/asset/img/logo/indexheaderLogo.png

    rewrite public/favicon.ico (100%)

    rewrite src/App.js (95%)

    create mode 100644 src/components/PageHeader/index-header-content.css

    create mode 100644 src/components/PageHeader/index-header-content.js

    create mode 100644 src/components/PageHeader/page-header.css

    create mode 100644 src/components/PageHeader/page-header.js

    create mode 100644 src/css/style.css

    create mode 100644 src/pages/about/index.js

    create mode 100644 src/pages/components/assemble.js

    create mode 100644 src/pages/index/index.css

    create mode 100644 src/pages/index/index.js

    create mode 100644 src/pages/search/expo.js

    F:\ReactSpace\my-app>npm run eject

    > my-app@0.1.0 eject F:\ReactSpace\my-app

    > react-scripts eject

    NOTE: Create React App 2+ supports TypeScript, Sass, CSS Modules and more without ejecting: https://reactjs.org/blog/2018/10/01/create-react-app-v2.html

    ? Are you sure you want to eject? This action is permanent. Yes

    Ejecting...

    Copying files into F:\ReactSpace\my-app

      Adding \config\env.js to the project

      Adding \config\modules.js to the project

      Adding \config\paths.js to the project

      Adding \config\webpack.config.js to the project

      Adding \config\webpackDevServer.config.js to the project

      Adding \config\jest\cssTransform.js to the project

      Adding \config\jest\fileTransform.js to the project

      Adding \scripts\build.js to the project

      Adding \scripts\start.js to the project

      Adding \scripts\test.js to the project

    Updating the dependencies

      Removing react-scripts from dependencies

      Adding @babel/core to dependencies

      Adding @svgr/webpack to dependencies

      Adding @typescript-eslint/eslint-plugin to dependencies

      Adding @typescript-eslint/parser to dependencies

      Adding babel-eslint to dependencies

      Adding babel-jest to dependencies

      Adding babel-loader to dependencies

      Adding babel-plugin-named-asset-import to dependencies

      Adding babel-preset-react-app to dependencies

      Adding case-sensitive-paths-webpack-plugin to dependencies

      Adding css-loader to dependencies

      Adding dotenv to dependencies

      Adding dotenv-expand to dependencies

      Adding eslint to dependencies

      Adding eslint-config-react-app to dependencies

      Adding eslint-loader to dependencies

      Adding eslint-plugin-flowtype to dependencies

      Adding eslint-plugin-import to dependencies

      Adding eslint-plugin-jsx-a11y to dependencies

      Adding eslint-plugin-react to dependencies

      Adding eslint-plugin-react-hooks to dependencies

      Adding file-loader to dependencies

      Adding fs-extra to dependencies

      Adding html-webpack-plugin to dependencies

      Adding identity-obj-proxy to dependencies

      Adding is-wsl to dependencies

      Adding jest to dependencies

      Adding jest-environment-jsdom-fourteen to dependencies

      Adding jest-resolve to dependencies

      Adding jest-watch-typeahead to dependencies

      Adding mini-css-extract-plugin to dependencies

      Adding optimize-css-assets-webpack-plugin to dependencies

      Adding pnp-webpack-plugin to dependencies

      Adding postcss-flexbugs-fixes to dependencies

      Adding postcss-loader to dependencies

      Adding postcss-normalize to dependencies

      Adding postcss-preset-env to dependencies

      Adding postcss-safe-parser to dependencies

      Adding react-app-polyfill to dependencies

      Adding react-dev-utils to dependencies

      Adding resolve to dependencies

      Adding sass-loader to dependencies

      Adding semver to dependencies

      Adding style-loader to dependencies

      Adding terser-webpack-plugin to dependencies

      Adding url-loader to dependencies

      Adding webpack to dependencies

      Adding webpack-dev-server to dependencies

      Adding webpack-manifest-plugin to dependencies

      Adding workbox-webpack-plugin to dependencies

    Updating the scripts

      Replacing "react-scripts start" with "node scripts/start.js"

      Replacing "react-scripts build" with "node scripts/build.js"

      Replacing "react-scripts test" with "node scripts/test.js"

    Configuring package.json

      Adding Jest configuration

      Adding Babel preset

      Adding ESLint configuration

    Running npm install...

    audited 878675 packages in 47.173s

    found 0 vulnerabilities

    Ejected successfully!

    warning: LF will be replaced by CRLF in config/env.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in config/jest/cssTransform.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in config/jest/fileTransform.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in config/modules.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in config/paths.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in config/webpack.config.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in config/webpackDevServer.config.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in scripts/build.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in scripts/start.js.

    The file will have its original line endings in your working directory

    warning: LF will be replaced by CRLF in scripts/test.js.

    The file will have its original line endings in your working directory

    Staged ejected files for commit.

    Please consider sharing why you ejected in this survey:

    相关文章

      网友评论

          本文标题:This git repository has untracke

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