-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File xxx.css failed. net::ERR_ABORTED at file xxx.php #52
Comments
You're right. Apart the fact that critical can't interpret php itself so you need to use an url where the page can be fetched. See the |
Thanks for your response, In your example I can see the src file is still an html one. Indeed I saw server language are not working so I tried to use an url such as http://website/accueil (this page should be the resulting html of accueil.php with the css). I might have missed something. |
An online url should work without problems. Can you check the output of critical cli for your url?
|
I guess I'm still missing something in configs; but chromium is installed.
Aborted due to warnings. ========================================================
|
which node/npm version do you have installed? |
node -v npm -v |
Your last comment looks like chromium isn't installed at all.
What's happening if you run I'm getting expected results for that so maybe that's not a problem with critical |
I just had a simmilar issue where puppeteer did not install correctly. |
I have a question that might be related to an issue I have.
I try to use it for the first time: so here is what I did in my gruntfile.
So if I understand what I'm doing: the task will look the critical css from the file template.php coming from accueil.css and bootstrap.css and will write the new css inside template.css. Am I right ?
But actually I'm getting this error and I can't find why:
I would also like to know how is it working exactly ? When I look to your example you are using an html page. But can work with php page too ? I guess it is. But then, what if the php page is using multiple template. In fact my file template.php is a bunch of functions that might be called or not.
The text was updated successfully, but these errors were encountered: