Nuxt Firefox console errors webpack hmr - firefox

I just made a brand new project with Nuxt using the npx create-nuxt-app command.
This error might not be related to Nuxt it self but its really annoying to have it in all my nuxt projects and I struggle to get rid of it. It appears in Firefox developer edition when I run the npm run dev command for localhost.
The connection to http://localhost:3000/__webpack_hmr/client was interrupted while the page was loading.
The connection to http://localhost:3000/_loading/sse was interrupted while the page was loading.
Any idea how to get rid of this ? thanks

Wow, never realized this error is always present in Firefox. Usually, this kind of thing just disappear when your refresh the page once but it looks like it is persisted in Firefox indeed.
I guess this have something to do with the way HMR websockets are done.
Here is a github issue talking about the problem and here is the most up to date mozilla bug report.
Not sure if the latter is anyhow relevant.
Maybe this is just a flag to set in Firefox or something related to Vue specifically. Nonetheless, you can filter-out some errors but putting -<your-query> in the console search. Works great to remove some annoying error that you don't really care about.
This is how it looks

Related

Firefox can't load temporary addon: Error: Can't find profile directory

I'm starting to work on a small firefox plugin, it's a basic js script, no problem on this side.
I've made a few successfull tests, and had a a few satisfying results. But starting yesterday, i'm unable to laod any temporary addons in firefox.
Everytime i try to start one (even a simple console.log("hello world")), i get the error message in the console:
Error: Can't find profile directory. XULStore.jsm:66:15
It work perfectly 2 days ago, the problem appeared yesterday, and, as far as i know, i didn't made any firefox upgrade.
I've made a few reseach, a found two usefull links, one on discourse.mozilla of someone that has the exact same problem ... but no answer, and another one on bugzilla saying this bug won't be fixed because it should last long ... https://bugzilla.mozilla.org/show_bug.cgi?id=1548017
I'm askign here because i can't find any solution to my problem, and right now, it's been 24h since i'm stuck in my development progress. I'm open to any suggestion that might work.
I've checked my profiles directory and files, they're existing and ok... and that's basically everything. I'm not familiiar with the tools available for firefox so, i might have forgotten to check basic things that might help.
P.S: i'm not using selenium at any time (i've seen a few requests here about a similar issue with selenium, but i'm writing vanilla JS here, so, i think it's not the same issue)

What to do about "The Components object is deprecated. It will soon be removed." in dev tools Console

For almost every page I open in Firefox, I see this error in the Console of the developer tool bar:
(!) The Components object is deprecated. It will soon be removed.
The source is the html page. It happens with pages I create, but also on many common websites.
I found this documentation on Components object on MDN web docs, but that does not clarify a lot. Note that even that page shows this message(!)
It looks like a warning, but according to the Console filter, it is an error.
My main questions are:
Is this something for me, as a developer of the page reporting this, to solve?
If so, how do I go about that?
I am not aware of any problems as a result of this. For now, that is.
I have seen this for over a year, maybe longer. I mostly ignore this, but every now and then it starts nagging me again. I don't want my code to break suddenly and would like to get rid of this message obscuring other messages.
This is not for the developer of the page to solve.
While biking back home, a possible cause popped up in my mind: could one of the add-ons I use cause this and yes, that appears to be the case.
I restarted with disabled add-ons and the message was gone.
Then I enabled them one at a time and the culprit is
Selenium IDE.
A bug report on this issue was closed with Won't fix, with the message:
This error will resolve itself when we move to a native app later this year.
In a MozillaZine topic of 2012, it is explained how it could have been solved.
The first one is just a warning that the addon is using "Components"
directly, which won't necessarily always be possible when using the
Add-on SDK. (The preferred way to do it is to access the aliases for
Components.classes and Components.interfaces and such that the SDK
provides by requiring the "chrome" module.) It shouldn't be a problem
right now, but might become one in the future.
it happened for me after installing Selenium plugin in my FireFox.

Laravel loading twice all pages

I'm getting a strange behavior and after hours trying to figure out what might be causing this issue, still can't solve or understand why is this happening.
The project, using Laravel Framework 5.6.39, suddenly is loading every page twice, like a redirect. This happens in all routes, even the ones not using the master page layouts.
Examples: I call myproject.develop/ or myproject.develop/login or myproject.develop/articles and it loads the correct views but twice. It feels like a redirect to the same page or a refresh.
Some of the things I've done and didn't result: clear cache, clear config, clear views, clear routes, disable debugbar, disable clockwork. The behavior is the same.
Thank in advance for any help in trying to solve this issue.
After Ross Wilson suggestion to disable Javascript in the browser (Chrome o Mac OS), first it didn't solve the issue.
Nevertheless all the steps taken as described in my question, and also cleaning any application settings in the Chrome developers console, it wasn't working.
Then, reverting Chrome settings and re-enable Javascript in Chrome, it "magically" worked and this weird behavior disappeared. Just guessing that this might be a Chrome bug (using Version 71.0.3578.98 (Official Build) (64-bit)) while I was thinking anything was wrong with the application—routes, controllers, scripts, etc.—and it wasn't.
So if anyone starts experiencing this issue of pages loading twice, follow the steps and you might probably get lucky and solve the issue.
Thanks Ross!
Icognito mode solved it... so after dumping a bunch of chrome extensions it finally stopped.
I deleted cache from Chrome and the problem is gone
Ok, none of the others thing worked for me. This can be kinda obvious, but is good to check if you dont have any "src=''" in your code, this seems to try to make a request to the same url with the src type header. that happened to me.

Resharper Extension Manager is empty

I'm working with VS2103 Update 5 and RS 10, the feed for the extensions is https://resharper-plugins.jetbrains.com/api/v2/curated-feeds/Wave_v3.0/ and also tried changing https to http.
any time I open Resharper Extensions Manager, I get the extensions window blank and nothing loads.
I'm working under a proxy, but all of my teammates have the same proxy configuration and I'm the only one that have this issue. I used fiddler to check the request, but no request is made at all.
Not sure if VS is blocking something or what's happening, but I've tried many things like updating to VS2015, uninstall and reinstall RS, downgrade RS from 10 to 9.2.
you have any idea of what could be happening here?
This is almost certainly due to a proxy issue. It looks like ReSharper use nuget to deliver their packages. The old version of nuget was pretty much unstoppable at getting through the corporate proxy, but it seems like the new dotnetcore version has a bug in it that means that it can't get through the proxy for a lot of people: https://github.com/dotnet/cli/issues/2190. They seem to have recently closed the bug, but I've not tested to see if it works. It didn't a few months ago on our proxy which was an epic world of pain. Basically until they start referencing a version of the nuget dll with the fix it won't work.
However, you can manually download the package from their website and use that instead: https://resharper-support.jetbrains.com/hc/en-us/articles/207241675-Offline-plug-in-installation-process
When I did this I still got some warnings, but the extension (StyleCop) seemed to work OK.
Do you have more than one source listed in the Extension Manager options? If there are two with the same name, it can get things confused and not work.
Next thing to try is to run Fiddler, and see what's happening over the network. You should see the requests to the extension gallery, and what kind of responses you're getting back - 407 will tell you if it's a proxy issue, for example.
UPDATE: Hang on. ReSharper 10 should be wave_v4.0, not wave_v3.0. That looks like it's not been updated from 9.2.
I think the cause of your problem can be the DPI settings (text and layout scale) on that monitor.
https://blog.jetbrains.com/dotnet/2019/06/11/blank-tool-windows-resharper-visual-studio-2019-net-framework-4-8-per-monitor-dpi-awareness
It's 2022 and I'm still struggling with this, despite I reset all to 100%.
(I haven't tried to logout and login again yet)

reCAPTCHA Maihide: where is it?

With the last reCAPTCHA update, the function to hide mails ("Mailhide") seems to have vanished completely.
although you can still get keys and although, actually, using the old libraries (no longer available from the website...) everything works.
Do someone know something?
Thanks.
It seems like Google stopped reCAPTCHA Mailhide.
There was an alternative scr.im but the website disappeared.
I'm now using spamty which seems to work fine.

Resources