./lib-cov/stylus in ./node_modules/stylus/index.js解决

Posted 以罗伊

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了./lib-cov/stylus in ./node_modules/stylus/index.js解决相关的知识,希望对你有一定的参考价值。

0 环境

  • 系统环境: windows平台,虚拟机
  • 编辑器: IDEA,vscode
  • vscode插件: mssql

1 准备

2 问题解决

?

每次cv别人的代码 总是会有些波折??

?
  • 简单粗暴的方法 直接定位进入node_modules/stylus/index.js中 将里面的代码注释掉 可以用了(我测试可用)

  • 具体定位 在新写的js中 发现多了import { url } from ‘stylus‘ 注释掉(node_modules/stylus/index.js就不用注释了)

以上是关于./lib-cov/stylus in ./node_modules/stylus/index.js解决的主要内容,如果未能解决你的问题,请参考以下文章