• <b id="l3qpx"><abbr id="l3qpx"></abbr></b>
  • <th id="l3qpx"><progress id="l3qpx"></progress></th>
      <th id="l3qpx"></th>
      <dd id="l3qpx"><font id="l3qpx"></font></dd>
      <th id="l3qpx"></th>
      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
      欄目列表
      推薦內(nèi)容
      熱點(diǎn)內(nèi)容
      展開(kāi)
      欧美一区二区三区免费A级视频,亚洲精品中文字幕综合,动漫精品中文字幕无码第一页,1024亚洲国产综合 亚太影院 柯西贝尔-游戏赚网
    1. <b id="l3qpx"><abbr id="l3qpx"></abbr></b>
    2. <th id="l3qpx"><progress id="l3qpx"></progress></th>
        <th id="l3qpx"></th>
        <dd id="l3qpx"><font id="l3qpx"></font></dd>
        <th id="l3qpx"></th>