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

0 环境

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

1 准备

2 问题解决

每次cv别人的代码 老是会有些波折😄vue

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

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

相关文章
相关标签/搜索