Open nick0702y opened 4 years ago
Same Problem
Same Problem
You probably have to disable javascript source map in inspect -> settings (Gear icon) -> under sources and then refresh your browser.
source: dart-lang/webdev#1500
Same problem
same problem
@szareian thanks
same problem
same problem
same problem
Is this still not fixed??
@szareian Thanks!
Note: this is a current session only, reloads the page in the setting advanced
? So
Hi, Because I didn't realize that it was a session only and when I restarted things and reconnected the message came back. So not knowing it was session only I started looking for other problems. Until I realized I had to go back into settings and re-check the box. That's all. DC
I have the same problem, it seems to be not solved yet. I think nobady is working on this issue. German
El mismo problemo!!!
same problem!
Is it fixed?
me too
update on the fix please, it's killing here
same problem!
drug, this problem exists in 2020 and has nothing so far
DevTools failed to load SourceMap: Could not load content for https://unpkg.com/peerjs.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Anny one to help me out with this issue
Hello,
First, I think its worth noting that if you are having a problem with the peerJS library itself there is a 99.999% chance it has nothing to do with this particular issue.
This error happens because your browser is unable to load the source map file from unpkg. This should have no bearing on your ability to use this library at all. The source map is strictly used for debugging within a web browser.
The specific reason why this is happening is related to this issue from parcel which is what this project uses for creating the JS bundle: https://github.com/parcel-bundler/parcel/issues/3000
If you look at the bottom of the peerjs bundle you will see this line:
//# sourceMappingURL=/peerjs.min.js.map
The sourceMappingURL
should not have /
because it is causing the reference url to go to https://unpkg.com/peerjs.min.js.map
(which 404s) instead of https://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js.map
where it actually lives.
I think the proper way to fix this is by changing the configuration of parcel to make the URL relative instead of absolute.
In the meantime, if you actually need to load the source map files you can do it manually in chrome using the full sourcemap url: https://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js.map
Hey, I am in need of including this source map in a project, but it needs to load seamlessly on any device. Is there any workaround so that I can use this peerJS library robustly?
Have same problem here. i am using safari for running development. might be caused by the browser suport (?). i've tried on ms edge too, though the result is the same, just like here
may be would try this solution, however i havent got it clear how to change the parcel.
Hello,
First, I think its worth noting that if you are having a problem with the peerJS library itself there is a 99.999% chance it has nothing to do with this particular issue.
This error happens because your browser is unable to load the source map file from unpkg. This should have no bearing on your ability to use this library at all. The source map is strictly used for debugging within a web browser.
The specific reason why this is happening is related to this issue from parcel which is what this project uses for creating the JS bundle: parcel-bundler/parcel#3000
If you look at the bottom of the peerjs bundle you will see this line:
//# sourceMappingURL=/peerjs.min.js.map
The
sourceMappingURL
should not have/
because it is causing the reference url to go tohttps://unpkg.com/peerjs.min.js.map
(which 404s) instead ofhttps://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js.map
where it actually lives.I think the proper way to fix this is by changing the configuration of parcel to make the URL relative instead of absolute.
In the meantime, if you actually need to load the source map files you can do it manually in chrome using the full sourcemap url:
https://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js.map
any one have tried?
Have same problem here. i am using safari for running development. might be caused by the browser suport (?). i've tried on ms edge too, though the result is the same, just like here
may be would try this solution, however i havent got it clear how to change the parcel.
Hello, First, I think its worth noting that if you are having a problem with the peerJS library itself there is a 99.999% chance it has nothing to do with this particular issue. This error happens because your browser is unable to load the source map file from unpkg. This should have no bearing on your ability to use this library at all. The source map is strictly used for debugging within a web browser. The specific reason why this is happening is related to this issue from parcel which is what this project uses for creating the JS bundle: parcel-bundler/parcel#3000 If you look at the bottom of the peerjs bundle you will see this line:
//# sourceMappingURL=/peerjs.min.js.map
The
sourceMappingURL
should not have/
because it is causing the reference url to go tohttps://unpkg.com/peerjs.min.js.map
(which 404s) instead ofhttps://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js.map
where it actually lives. I think the proper way to fix this is by changing the configuration of parcel to make the URL relative instead of absolute. In the meantime, if you actually need to load the source map files you can do it manually in chrome using the full sourcemap url:https://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js.map
any one have tried?
Is the problem fixed now?
Please, until now, there is still no fix for this issue?
Hey Guys I think i have found the solution.
I was having same error as title as you can see in my screenshot.
GET http://localhost:443/peerjs/id?ts=16454403347120.7762317840464861 net::ERR_CONNECTION_REFUSED
my peer commnad running at 3001
santoshshah@192 video-webrtc % peerjs --port 3001
Started PeerServer on ::, port: 3001, path: / (v. 0.6.1)
As the error is pointing towards localhost:443
in the screenshot, I change the port of peerjs from 3001
to 443
peerjs --port 443
santoshshah@192 video-webrtc % peerjs --port 443
Started PeerServer on ::, port: 443, path: / (v. 0.6.1)
Client connected: 7f449c07-dc4c-4b65-b164-8f6f503520d5
and refresh my browser and got this running message. I got Client connected: 7f449c07-dc4c-4b65-b164-8f6f503520d5
.
The error message went away but I still see warning of peerjs source map warning.
Hello
I solved this issue by downloading https://unpkg.com/peerjs@1.3.2/dist/peerjs.min.js.map
file instead of loading from the url, i included the file in my Javascript folder,
and at the end of the code in this file I removed //# sourceMappingURL=/peerjs.min.js.map
and replaced it by //# sourceMappingURL=peerjs.min.js.map
The warning should disappear
peerjs version used 1.3.1
Error loading peerjs.min.js.map Error Report
DevTools failed to load SourceMap: Could not load content for https://unpkg.com/peerjs.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Please help with this issue