./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就不用注释了)


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM