Skip to content

rtlcss: invalid config file. Error: ENOENT: no such file or directory, stat 'D:\Users\myusername' #352

@DrLightman

Description

@DrLightman

Hello,

I'm on Windows 10 Pro.
Two drives, C: and D:
OS and rtlcss are installed in C:
Projects stored in D:
I've configured rtlcss in my IDE and the command line results as:

cmd.exe /D /C call C:\Users\myusername\AppData\Roaming\npm\rtlcss.cmd D:\Project\style.css D:\project\style-rtl.css

The output is:

- rtlcss: invalid config file. Error: ENOENT: no such file or directory, stat 'D:\Users\myusername'
! rtlcss: Warning! No config present, using defaults.
+ Saving:
+ D:\Project\style-rtl.css

It basically looks up for the OS user folder in the same drive as the project is stored ( D: ), not in the drive the OS is installed in ( C: )

The output file is created correctly anyway, but the console gets shown everytime because of the error above.
I suppose I could create an empty directory just to make it happy, but...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions