zoukankan      html  css  js  c++  java
  • laravel5.8 编译laravel mix

    如果第一次无需执行(如果编译的时候出错再次执行才需要)

    1:rm -rf node_modules

    更改镜像为淘宝镜像

    2:yarn config set registry https://registry.npm.taobao.org

    3:SASS_BINARY_SITE=http://npm.taobao.org/mirrors/node-sass yarn

    4:删掉 package.json 中的 cross-env 

    5:yarn install --no-bin-links

    6:npm run watch-poll 

    在执行第六步的时候如果报

    Running: yarn add vue-template-compiler --dev --production=false Running: yarn add vue-template-compiler --dev --production=false(蓝色字体)

    执行 yarn add vue-template-compiler --dev --production=false --no-bin-links

    然后执行 npm run watch-poll 

    下图为最后的执行结果

  • 相关阅读:
    《POJ-2369》
    《1402
    《2018 Multi-University Training Contest 8》
    《HDU
    循环串
    模拟赛 数根 题解
    备份
    关于带删除线性基
    论OIer谈恋爱的必要性
    某计数题题解
  • 原文地址:https://www.cnblogs.com/paulversion/p/11670253.html
Copyright © 2011-2022 走看看