• <dl id="2u8ki"><small id="2u8ki"></small></dl>
    • <rt id="2u8ki"><em id="2u8ki"></em></rt>
    • <menu id="2u8ki"></menu>
      0712-2888027 189-8648-0214
      微信公眾號(hào)

      孝感風(fēng)信網(wǎng)絡(luò)科技有限公司微信公眾號(hào)

      當(dāng)前位置:主頁(yè) > 技術(shù)支持 > Javascript/JQuery > npm WARN Local package.json exists, but node_modules missing, did you mean to install?錯(cuò)誤的解決方法

      npm WARN Local package.json exists, but node_modules missing, did you mean to install?錯(cuò)誤的解決方法

      時(shí)間:2022-07-07來(lái)源:風(fēng)信官網(wǎng) 點(diǎn)擊: 4654次

      客戶(hù)的開(kāi)發(fā)項(xiàng)目采用Vue開(kāi)發(fā),運(yùn)行npm run dev命令報(bào)錯(cuò)如下:

      > mix

      'mix' 不是內(nèi)部或外部命令,也不是可運(yùn)行的程序
      或批處理文件。
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! @ development: `mix`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the @ development script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      npm WARN Local package.json exists, but node_modules missing, did you mean to install?

      npm ERR! A complete log of this run can be found in:
      npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2022-07-07T03_20_04_511Z-debug.log

      我們需要把依賴(lài)關(guān)系包更新一下才行

      解決方法:npm install

      運(yùn)行完成之后,再次執(zhí)行npm run dev

      終于編譯成功!

      Laravel Mix v6.0.49

      ? Compiled Successfully in 1333ms
      ┌─────────────────────────────────────────────────────────────────────────────────────
      ───────────────────────────────────────────────────────────────────────────┬─────────┐

      │ File │ Size

      ├─────────────────────────────────────────────────────────────────────────────────────
      ───────────────────────────────────────────────────────────────────────────┼─────────┤

      │ /js/app.js │ 606 KiB

      │ css/app.css │ 1 bytes

      └─────────────────────────────────────────────────────────────────────────────────────
      ───────────────────────────────────────────────────────────────────────────┴─────────┘

      webpack compiled successfully

      熱門(mén)關(guān)鍵詞: npm Local package.json node_modules

      您可能感興趣的相關(guān)文章:

      欄目列表
      推薦內(nèi)容
      熱點(diǎn)內(nèi)容
      展開(kāi)
      中文字幕无码AV黄片,亚洲天堂日本美女,国产亚洲色婷婷久久99精品91,午夜无码不卡视频 99久色图精品国产 精品熟女少妇A∨免费久久
    • <dl id="2u8ki"><small id="2u8ki"></small></dl>
      • <rt id="2u8ki"><em id="2u8ki"></em></rt>
      • <menu id="2u8ki"></menu>