Skip to content

Error: ENOENT: no such file or directory #45

Closed
@rikkipitt

Description

@rikkipitt

Hi folks,

I've added this to my Rails project using the default settings in the README but when I generate, I run into an issue where the CSS in my project is not found. It does exist though...

Any ideas? Thanks!

rake critical_path_css:generate

Error: ENOENT: no such file or directory, open '/assets/application-d02df3cf214bde099b3a0207da21c2d9a9d5a328b1f3631ac6da62497a938264.css'
Failed to get CSS for route /
with options={"url"=>"http://xero-calendar.test/", "css"=>"/assets/application-d02df3cf214bde099b3a0207da21c2d9a9d5a328b1f3631ac6da62497a938264.css", "width"=>1300, "height"=>900, "timeout"=>30000, "forceInclude"=>[], "strict"=>false, "maxEmbeddedBase64Length"=>1000, "userAgent"=>"Penthouse Critical Path CSS Generator", "renderWaitTime"=>100, "blockJSRequests"=>true, "customPageHeaders"=>{"Accept-Encoding"=>"identity"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions