【环境信息】
软件信息:
1) OS版本及分支:openEuler 23.09
2) 内核信息:6.4.0-1.0.2.6.oe2309.aarch64
【操作步骤】
1、dnf install -y nodejs-clean-css
2、执行命令:cleancss -h
【预期结果】
命令执行成功
【实际结果】
命令执行失败
【附件】
Hi ssttkx, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-nodejs, and any of the maintainers: @solarhu , @ZhengyuhangHans , @卢华歆 , @mdche , @lyn , @王歌
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
问题原因:nodejs-clean-css在4.0.0版本及以后源码不再提供bin/cleancss,所以导致命令不可用
上游移除:https://github.com/clean-css/clean-css/commit/2b5e3f3d5244c8f20409d88d747d4c35bc292507
解决办法:移除多余代码
23.09 rc2确认已修改:
登录 后才可以发表评论