这是在我给项目的common目录起了别名之后报的一个错,

alias: {'vue$': 'vue/dist/vue.esm.js','@': resolve('src'),'common': resolve('src/common')}

按理说起了别名之后直接用别名common就不应该出错,可是tmd还是报了一堆红。

failed to locate @import file common/stylus/variable.stylat CachedPathEvaluator.visitImport (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus-loader@3.0.2@stylus-loader\lib\evaluator.js:157:21)at CachedPathEvaluator.Visitor.visit (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus@0.54.7@stylus\lib\visitor\index.js:28:40)at CachedPathEvaluator.Evaluator.visit (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus@0.54.7@stylus\lib\visitor\evaluator.js:160:18)at CachedPathEvaluator.Evaluator.visitRoot (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus@0.54.7@stylus\lib\visitor\evaluator.js:707:27)at CachedPathEvaluator.Visitor.visit (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus@0.54.7@stylus\lib\visitor\index.js:28:40)at CachedPathEvaluator.Evaluator.visit (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus@0.54.7@stylus\lib\visitor\evaluator.js:160:18)at CachedPathEvaluator.Evaluator.evaluate (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus@0.54.7@stylus\lib\visitor\evaluator.js:247:15)at Renderer.render (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus@0.54.7@stylus\lib\renderer.js:86:26)at F:\webStormWorkSpace\炸鸡音乐app\node_modules\_stylus-loader@3.0.2@stylus-loader\index.js:167:12at tryCatchReject (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_when@3.6.4@when\lib\makePromise.js:840:30)at runContinuation1 (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_when@3.6.4@when\lib\makePromise.js:799:4)at Fulfilled.when (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_when@3.6.4@when\lib\makePromise.js:590:4)at Pending.run (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_when@3.6.4@when\lib\makePromise.js:481:13)at Scheduler._drain (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_when@3.6.4@when\lib\Scheduler.js:62:19)at Scheduler.drain (F:\webStormWorkSpace\炸鸡音乐app\node_modules\_when@3.6.4@when\lib\Scheduler.js:27:9)at _combinedTickCallback (internal/process/next_tick.js:132:7)@ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-9c4fe28a","scoped":true,"hasInlineConfig":false}!./node_modules/_stylus-loader@3.0.2@stylus-loader?{"sourceMap":true}!./node_modules/vue-loader/lib/selector.js?type=styles&index=0!./src/components/tab/tab.vue 4:14-400 13:3-17:5 14:22-408@ ./src/components/tab/tab.vue@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/App.vue@ ./src/App.vue@ ./src/main.js@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

网上查询结果说“~”代表当前目录的根目录,暂时这样记下吧。

failed to locate @import file common/stylus/variable.styl相关推荐

  1. This dependency was not found: * common/stylus/index.styl in ./src/main.js To install it, you can ru

    有如下错误: This dependency was not found: * common/stylus/index.styl in ./src/main.js To install it, you ...

  2. 【错误记录】Android Studio 配置 AspectJ 报错 ( Failed to create Jar file C:\xxx\aspectjtools-1.8.10.jar. )

    文章目录 一.报错信息 二.解决方案 三.Gradle 与 Gradle 插件版本适配 一.报错信息 在 Android Studio 中配置 AspectJ , 配置后的 Module 下的 bui ...

  3. Windows7系统运行hadoop报Failed to locate the winutils binary in the hadoop binary path错误

    程序运行的过程中,报Failed to locate the winutils binary in the hadoop binary path  Java.io.IOException: Could ...

  4. 针对Mrpt/build中的make时u出现的问题ccache: error: Failed to create temporary file for /home/jyy/.ccache/tmp/tm

    问题:ccache: error: Failed to create temporary file for /home/jyy/.ccache/tmp/tmp.cpp_stderr: Permissi ...

  5. 关于苹果开发证书失效的解决方案(2016年2月14日Failed to locate or generate matching signing assets)

    感谢原作者:http://blog.csdn.net/mr_lp/article/details/50673092 前言: 从2月14日开始,上传程序的同学可能会遇到提示上传失败的提示. 并且打开自己 ...

  6. SpringBoot微服务项目报错:Failed to process import candidates for configuration class [springfox.boot...

    具体错误: [main] ERROR org.springframework.boot.SpringApplication - Application run failed org.springfra ...

  7. BUG之路2--ubuntu安装uwsgi测试报错:failed to open python file test.py

    心路历程 毫无疑问,又是能让我跳楼的BUG,但是结果都一样,很小的细节,卡我两天时间. BUG过程: 在ubuntu上部署django项目时,需要安装uwsgi服务器.根据教程安装完之后,然后会有一个 ...

  8. unpacking error : failed to extract...: failed to convert whiteout file... operation not permitted

    unpacking error : failed to extract-: failed to convert whiteout file- operation not permitted 问题背景: ...

  9. Failed to process import candidates for configuration class [cn.zlc.eurekaservice.EurekaServiceAppl

    1.问题描述:在一个项目中添加了一个eureka注册中心服务端子模块,eureka模块依赖为在这里插入代码片 <?xml version="1.0" encoding=&qu ...

  10. 从2月14号开始,上传AppStore会碰到:Failed to locate or generate matching signing assets

    从2月14号开始,上传AppStore时可能会碰到这个问题: Failed to locate or generate matching signing assets Xcode attempted ...

最新文章

  1. 简明python教程购买-简明python教程哪版(python看什么书)
  2. 修改 Android Studio 相关模板,以加快项目创建时构建速度,支持Mac,Windows,Linux...
  3. 格子大法与换入换出分析
  4. 怎么导入sklearn包_在导入sklearn包是报错
  5. 阿里CTO张建锋:明年双11将大规模应用含光AI芯片
  6. ubuntu测试键盘工具_强势霸榜GitHub,微软最强命令行工具发布引爆技术圈
  7. git拉取请求_向需要的开源项目提供拉取请求的礼物
  8. java 看虚拟机内存_java 虚拟机内存介绍
  9. moosefs即将发布新版
  10. Java连接Redis (key-value存储系统)
  11. Atitit 深入理解软件的本质 attilax总结 软件三原则三次原则是DRY原则和YAGNI原则的折
  12. 对应分析与典型相关分析CCA笔记_数学建模系列
  13. 分析和比较ABAQUS、MARC、Adina、ANSYS三种CAE软件
  14. erp采购总监个人总结_ERP沙盘实训采购总监总结,学到了很多知识,受益匪浅
  15. BASE64加密解密问题
  16. npm i 命令安装失败提示:npm WARN read-shrinkwrap,解决方法
  17. 【答粉丝问】桌面运维需要具备的技能有什么?
  18. Java中Map详解
  19. 创建table表格总有一些线比其他线粗
  20. 探索Whisper语音识别

热门文章

  1. 杭州初中计算机老师怎么样,杭州中学两位老师,获得浙江省优质课评比一等奖。学生激动留言,这么多年老师还是这么漂亮!...
  2. 15个提高编程技巧的 JavaScript工具
  3. Android柠檬水面试题,柠檬水的饮料摊(面试案例)
  4. 如何成为一名优秀的程序员
  5. 05JavaScript输出
  6. 项目上线工作流程梳理
  7. 每日单词20110605
  8. Matlab利用textread或者textscan读取格式化txt文件
  9. C++取字符串长度函数三种方法
  10. c语言中pinMode的作用,Arduino C语言的基本结构