filamentgroup / grunt-criticalcss

Grunt wrapper for criticalcss
MIT License
530 stars 26 forks source link

Error: The filename you have given is not found at this url #9

Closed derekjohnson closed 10 years ago

derekjohnson commented 10 years ago

Hi all,

I'm having a lot of trouble getting this to work. I have tried absolute URLs, relative URLs, removing inline JS from <head> and each time I get:

Fatal error: PHANTOM ERROR: Error: The filename you have given is not found at this url.

My Gruntfile has:

criticalcss: {
    custom_options: {
        options: {
            url: "192.168.10.144:8005",
            width: 1200,
            height: 900,
            outputfile: "dist/css/critical.css",
            filename: "dist/css/tpl-home.css"
        }
    }
}

I'm stumped, any help would be greatly appreciated.

jefflembeck commented 10 years ago

Looks like you're having happen the same thing that's going on in #6.

Closing this as a duplicate. I'm trying to figure this one out.