es6-css-minify icon indicating copy to clipboard operation
es6-css-minify copied to clipboard

Not working when using Remote Workspace Extension

Open jblong777 opened this issue 7 years ago • 5 comments

I use the Remote Workspace Extension to work on files remotely. When I tried to use this extension to minify the file it gives me an error "Minify failed: ENOENT: no such file or directory … It is trying to save to my C: drive (Windows machine) with the path on my server. Not sure how the Remote Workspace extension works, but it must be temp saving to C: before uploading to server? Is there a way to get the minify extension to work with the Remote Workspace extension?

jblong777 avatar Jul 21 '18 03:07 jblong777

Did version 2.0.3 fix this issue?

olback avatar Jul 25 '18 22:07 olback

Unfortunately not. It is no longer showing the C: drive, but it is still saying the path is not found. It does show the correct path to my root web directory on my server though. Under my "open Editors" section it lists my file with sftp://"servername":"port number"/"path to file" so maybe you need to include the sftp prefix as well or get file path from Remote Workspace extension?

jblong777 avatar Jul 25 '18 23:07 jblong777

Looking into this right now. Is this the extension you're using?

olback avatar Jul 26 '18 20:07 olback

Yes that is the one. I appreciate you looking into this.

jblong777 avatar Jul 26 '18 20:07 jblong777

I can't figure this out. The node module I'm using to read/write files (fs) does not seem to support file path like file://..., ftp://... and so on. I'm leaving this open since it's still something I'd like to implement.

olback avatar Jul 27 '18 19:07 olback