npm run eject 報錯

興奮的創(chuàng)建項目,執(zhí)行npm run eject,
問是否需要eject窑滞,輸入y,點擊回車
然后。共啃。敢靡。恭喜你
報錯
WTF?

? Are you sure you want to eject? This action is permanent. Yes
This git repository has untracked files or uncommitted changes:

react-study/playlist_router/package-lock.json
M react-study/playlist_router/package.json
M react-study/playlist_router/src/home.js
M react-study/playlist_router/src/index.js
kaikeba_full/vue-ts/
react-study/playlist_router/src/item.js
react-study/playlist_router/src/main.js
react-study/react_01/

Remove untracked files, stash or commit any changes, and try again.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react_01@0.1.0 eject: `react-scripts eject`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react_01@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\Administrator\AppData\Roaming\npm-cache\_logs\2019-07-25T09_40_15_464Z-debug.log

提示中說:This git repository has untracked files or uncommitted changes纺念,沒有g(shù)it提交,提交了Git渣窜。
然后再次運行npm run eject
成功了!!坝橡!

Ejecting...

Copying files into D:\study\react-study\react_01
  Adding \config\env.js to the project
  Adding \config\modules.js to the project
  Adding \config\paths.js to the project
  Adding \config\pnpTs.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 camelcase 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 ts-pnp 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 902125 packages in 39.513s
found 0 vulnerabilities

Ejected successfully!

warning: LF will be replaced by CRLF in react-study/react_01/config/env.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/config/jest/cssTransform.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/config/jest/fileTransform.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/config/modules.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/config/paths.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/config/pnpTs.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/config/webpack.config.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/config/webpackDevServer.config.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/scripts/build.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/scripts/start.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in react-study/react_01/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:
  http://goo.gl/forms/Bi6CZjk1EqsdelXk1
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末离陶,一起剝皮案震驚了整個濱河市沉眶,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 217,907評論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件铺坞,死亡現(xiàn)場離奇詭異擒滑,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 92,987評論 3 395
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人,你說我怎么就攤上這事×缆牵” “怎么了?”我有些...
    開封第一講書人閱讀 164,298評論 0 354
  • 文/不壞的土叔 我叫張陵签钩,是天一觀的道長昧旨。 經(jīng)常有香客問我乒疏,道長械哟,這世上最難降的妖魔是什么爸业? 我笑而不...
    開封第一講書人閱讀 58,586評論 1 293
  • 正文 為了忘掉前任,我火速辦了婚禮,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘。我一直安慰自己,他們只是感情好,可當(dāng)我...
    茶點故事閱讀 67,633評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上灿里,一...
    開封第一講書人閱讀 51,488評論 1 302
  • 那天,我揣著相機(jī)與錄音,去河邊找鬼。 笑死房匆,一個胖子當(dāng)著我的面吹牛岳链,可吹牛的內(nèi)容都是我干的苗分。 我是一名探鬼主播,決...
    沈念sama閱讀 40,275評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起浮毯,我...
    開封第一講書人閱讀 39,176評論 0 276
  • 序言:老撾萬榮一對情侶失蹤啊鸭,失蹤者是張志新(化名)和其女友劉穎库正,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體抚垃,經(jīng)...
    沈念sama閱讀 45,619評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡叽讳,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,819評論 3 336
  • 正文 我和宋清朗相戀三年岛蚤,在試婚紗的時候發(fā)現(xiàn)自己被綠了赚哗。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片硬萍。...
    茶點故事閱讀 39,932評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡袁勺,死狀恐怖舶衬,靈堂內(nèi)的尸體忽然破棺而出荣病,到底是詐尸還是另有隱情,我是刑警寧澤喷鸽,帶...
    沈念sama閱讀 35,655評論 5 346
  • 正文 年R本政府宣布众雷,位于F島的核電站,受9級特大地震影響做祝,放射性物質(zhì)發(fā)生泄漏砾省。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,265評論 3 329
  • 文/蒙蒙 一混槐、第九天 我趴在偏房一處隱蔽的房頂上張望编兄。 院中可真熱鬧,春花似錦声登、人聲如沸狠鸳。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,871評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽件舵。三九已至,卻和暖如春脯厨,著一層夾襖步出監(jiān)牢的瞬間铅祸,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 32,994評論 1 269
  • 我被黑心中介騙來泰國打工合武, 沒想到剛下飛機(jī)就差點兒被人妖公主榨干…… 1. 我叫王不留临梗,地道東北人。 一個月前我還...
    沈念sama閱讀 48,095評論 3 370
  • 正文 我出身青樓稼跳,卻偏偏與公主長得像盟庞,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子汤善,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,884評論 2 354

推薦閱讀更多精彩內(nèi)容