You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.
I'm trying to run this package as an NPM script ("mincss": "uglifycss --ugly-comments") but whenever I do that it fails in finding the files I'm passing to it.
Oddly enough, using the absolute path (../node_modules/uglifycss/uglifycss) works.
System
ArchLinux 4.13 x64
NPM version: 5.6.0
Node version: 9.4.0
uglifycss: 0.0.27 (latest version as I write this).
The text was updated successfully, but these errors were encountered:
If uglifycss is not in your path (i.e. in directories echo $PATH | sed s/:/\\n/g will list), npm will not find it and you'll have to use a complete path, like you did.
Problem
I'm trying to run this package as an NPM script (
"mincss": "uglifycss --ugly-comments"
) but whenever I do that it fails in finding the files I'm passing to it.Oddly enough, using the absolute path (
../node_modules/uglifycss/uglifycss
) works.System
ArchLinux 4.13 x64
NPM version: 5.6.0
Node version: 9.4.0
uglifycss: 0.0.27 (latest version as I write this).
The text was updated successfully, but these errors were encountered: