• Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleBuildError:


    Failed to compile. ./src/api/system/eduction.js Module build failed (from ./node_modules/eslint-loader/index.js): Error: ENOENT: no such file or directory, open 'E:workspacefoenfoen-uisrcapisystemeduction.js'
    

      

    具体操作
    
    1、若安装过 image-webpack-loader 先卸载
    
    yarn remove image-webpack-loader   // npm uninstall image-webpack-loader
    1
    2、使用 cnpm , 这一步意思就是安装 cnpm 然后将全局的 registry 设置成阿里的镜像,国内阿里比较快
    
    npm install cnpm -g --registry=https://registry.npm.taobao.org
    1
    3、使用 cnpm 安装  image-webpack-loader 会发现很快就安装好了,【手动滑稽】
    
    cnpm install --save-dev  image-webpack-loader 
    1
    注:如果先前尝试使用 yarn 或 npm 安装过,一定要先卸载掉用 cnpm 安装
    
    祝你成功!
    

      

  • 相关阅读:
    pycharm运行html文件报404错误
    css3 鼠标悬浮动画效果
    子代选择器和后代选择器的区别
    前端入门
    爬虫Scrapy框架
    BeautifulSoup
    爬虫之selenium使用
    爬虫之BeautifulSoup
    urllib模块
    爬虫基础
  • 原文地址:https://www.cnblogs.com/gzhbk/p/13500718.html
Copyright © 2020-2023  润新知