Hello I am testing my website and I have an score of about 80-90/100 if I look it with Chrome Lighthouse Extension. But in web.dev/measure and https://pagespeed.web.dev
The report returns an error. There is no error in console and there is no indication on what error is. I opened network inspector to see what web.dev was returning and this is what it said:
Lighthouse returned error: NO_FCP. The page did not paint any content. Please ensure you keep the browser window in the foreground during the load and try again. (NO_FCP)
But this is not true, the website loads fast, and works if I check it with the CLI or the Chrome Extension.
Any ideas on how can I debug this to find what is causing this error?
Thanks
Related
I'm new to d3js and trying to vizualize a decision-tree from the following Github
https://github.com/fractalytics/sklearn-tree-d3js
when I download everything from above and open the index.html nothing shown on my web browser.
I swicthed from Chrome to FireFox but nothing happened.
What's wrong or missing in this case??
I tried some other examples like https://gist.github.com/ajschumacher/65eda1df2b0dd2cf616f
but got the same result. nothing shown on my browser.
I have developed a web page with more than 10 external javascript dependencies.
The web page will load a file (via AJAX) and do some work.
However, when the page loads a file, the page got stuck totally. I can't find any abnormal stuff in the file, so it must be some script problem. But since the page got stuck, I can't locate the error location.
How can I do with my Chrome DevTools to locate the error?
I tried to look through all the tutorials for RAML and I was pretty excited.
I found most of the online resources available but I could not understand why, when i set up everything and the flows are generated, then i run it locally as a mule application, when i point to localhost:8081/api/console/ i get a huuuuuuuge json response, but not the UI described for example here.
Yes i also faced the same issue with Any Point Studio. It is not at all displaying in the API KIT Console present in Any Point Studio. But to feel good and to see the output i have just tried it with Google Chrome Browser and i got the expected User Interface as i was expecting from API KIT Console. Hope this issue will be fixed from next release onwards.
Here is the URL i used to see it on Browser : http://localhost:8081/remote-vending/api/console/
Here is my output from Google Chrome browser for the API KIT Tutorial
My GUI didn't show in the Anytime studio tab: APIkit Consoles, one way to fix this:
make sure you have started your application
right click for the context menu
select encoding
click auto-select
I have had the same problem and resolved it by removing invalid whitespace. One of the example files I was including had an invalid trailing space.
The way I found out;
Open the Network panel in the Developer Toolbar in your browser
Go to http://localhost:8081/api/console/
Find the response for a request to '/api' with the request header 'Accept:application/raml+yaml'.
This response should contain the fully compiled RAML, where all include files have been included.
Copy this entire content into a new RAML-file in Anypoint Platform API Designer or some other YAML editor with error reporting.
It highlighted the invalid whitespace immediately for me.
It should work Out of the box.
It could be a bug of an earlier version.
Could you check the behaviour in more recent releases?
Changing my default browser from Firefox to Chrome resolved the issue for me.
I've got a simple TypeError: 'undefined' is not an object failure when running a test in Jasmine headless webkit. But there is no hint in which file or line the error occurs. Is there a way to get a clearer failure message?
You can use the --runner-out flag to save the HTML from the test. Open this in a browser and you will see the full stacktrace.
jasmine-headless-webkit --runner-out ~/Desktop/jasmine-out.html
Try debug in Firebug (Firefox) or Google Chrome. Just press F12 and go to scripts pane. I suggest firebug. If that not help you can post your code here or, better, at http://jsfiddle.net
I am trying everything under my power here to insert jquerymobile.1.0.1 into an extension I have build for firefox.
I can install, link to any other script and everything seems to work just fine, but have had an assortment of errors getting jquerymobile to work.
I've tried uploading through the add-on builder
I've tried remotely linking the file
I've tried copying and pasting the file into other code.. nothing works.
I've coded this extension for safari, chrome and opera without issue, but Firefox chokes the second I link to/include jquerymobile in my code returning this error:
Timestamp: 12-04-27 12:10:33 PM
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMHistory.replaceState]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://jid0-d4zlaxz3cfuahkcdoecsmya637m-at-jetpack/idesireit/data/js/jquery.mobile-1.0.1.min.js :: :: line 72" data: no]
and also an error about "unallowed unicode" which I didn't get the chance to copy or paste, but I haven't seen that one in a few saves...
I've read that the above error can be caused by cross domain functions, but all my cross domain functions are in another js file, and they are all working just fine ( judging by those I can navigate to with jquerymobile acting as it is right now )
I'm a novice - if my error is based on my stupidity, please go lightly :O
I went ahead and created an all new extension,
included nothing but the popup, and in that pop up, called jquery and jquery.mobile.
I got this error instantly again.
I'm just going to go ahead and use the alternative UI I'm using on the dashboard widget, I've wasted too much time on this.
The bug is in the addonsdk, not in JQ Mobile. Any attempt to access or manipulate the window.history object in a panel will raise this error.