use*_*366 0 css command-line node.js npm
我刚刚通过 npm 命令行安装了 clean-css ( https://github.com/GoalSmashers/clean-css ),我想用它来连接和缩小一些 css 文件 (duh)。但是,我收到此错误:
'cleancss' is not a recognized as an internal or external command, operable program or batch file.
Run Code Online (Sandbox Code Playgroud)
我对从命令行做事还不熟悉,所以这完全让我陷入了困境。我找不到这个 clean-css 特定问题的答案。此类错误的一般答案似乎是需要更新环境变量,但虽然我过去已经这样做来指向某些可执行文件,但我不确定在这种特定情况下我必须做什么。有接受者吗?
| 归档时间: |
|
| 查看次数: |
2916 次 |
| 最近记录: |