Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

wepy build --watch报错,未找到编译器 wepy-compiler-less #2847

Open
xiaomudeng opened this issue May 31, 2023 · 1 comment
Open

wepy build --watch报错,未找到编译器 wepy-compiler-less #2847

xiaomudeng opened this issue May 31, 2023 · 1 comment

Comments

@xiaomudeng
Copy link

Description

wepy build --watch报错,未找到编译器 wepy-compiler-less
可以确定的是,项目中存在less的相关配置

image

根据上面的提示,查阅资料,然后npm install less,报了以下错误,

image

我试过管理员方式下载pngquant,并且运行pngquant.exe的方法,但是没有效果,也下载过less,和wepy-compiler-less,都是报这个错误,

这该如何解决?

Environment

windows平台,,wepy-cli是1.7的版本,是否对node版本有要求?

@860560622
Copy link

你下载pngquant的报错是libpng-dev没安装。可以从 libpng 的官方网站下载预编译的二进制文件。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants