<tr id="frcqn"></tr>
<strong id="frcqn"><optgroup id="frcqn"></optgroup></strong>
<tr id="frcqn"></tr>
<tr id="frcqn"></tr>
<tr id="frcqn"></tr>
  • 0712-2888027 189-8648-0214
    微信公眾號

    孝感風信網絡科技有限公司微信公眾號

    當前位置:主頁 > 技術支持 > Javascript/JQuery > npm WARN Local package.json exists, but node_modules missing, did you mean to install?錯誤的解決方法

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

    時間:2023-11-05來源:風信官網 點擊: 3924次

    客戶的開發項目采用Vue開發,運行npm run dev命令報錯如下:

    > mix

    'mix' 不是內部或外部命令,也不是可運行的程序
    或批處理文件。
    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

    我們需要把依賴關系包更新一下才行

    解決方法:npm install

    運行完成之后,再次執行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

    熱門關鍵詞: npm Local package.json node_modules
    欄目列表
    推薦內容
    熱點內容
    展開
    强奸乱伦之影音先锋,播放器男女免费,精品一区二区自拍偷拍,xxxxx日韩
    <tr id="frcqn"></tr>
    <strong id="frcqn"><optgroup id="frcqn"></optgroup></strong>
    <tr id="frcqn"></tr>
    <tr id="frcqn"></tr>
    <tr id="frcqn"></tr>