Pretty awesome! I think every programmer had faced this problem before. Even I faced it as well and fixed it by using live server extension. Thanks so much bro for helping people to solve this issue.
@chembetikarunakar8142 жыл бұрын
Without liveserver can we do this
@NoobDeveloper_1233 ай бұрын
thanks brother, i were suffering from a lot and seeing many tutorials from different channels. most of them created garbage tutorial and finally from your side i get the original solution.
@cloudzero2049 Жыл бұрын
I'm over here training neural networks and getting ready to pull my hair out because CORS wouldn't let me load my trained models (ML5.js library). I let out a huge sigh of relief when you said VS Code has a server extension, I was worried I was going to have to design a Node.js overlay. Every things working, thank you so much.
@RIGARR3 жыл бұрын
woah! what a coincidence! I was just searchin' to fix this problem and got your video just uploaded
@pavelromanov88333 жыл бұрын
You man are a live safer. I've been banging my head for the past 3 hours and I feel relieved to have finally solved my problem. Thank you very much sir!
@userg232 жыл бұрын
Excellent explanation. Simple and short.. Easy to understand. Thnx man 👍🏻
@ScreenPrintR2 жыл бұрын
Do I have to re-save my file in VS code? When I hit enter after doing the f1 I get a message on the bottom of vs that says open workspace.
@christianrivera15682 жыл бұрын
This video is the response to my 2 weeks problem. Thank you sooo much!
@Olalekan.Ekundayo Жыл бұрын
So, I found someone like me that was stuck with this error message for weeks 😂
@juliuspaige51733 жыл бұрын
How do you fix it if downloading a webserver is not an option?
@MarkKathrynVegera2 жыл бұрын
Excellent and thank you for saving me another two hours of checking my code!
@Olalekan.Ekundayo Жыл бұрын
Wow! You just gave me a solution to the error message I have been encountering for weeks now, and has slow down my learning... Thank you very much, you deserved a like and a subscribe from me 😄
@my.b707 Жыл бұрын
The same, that slow my learning an I was sad. Now I can continue
@smoothbeak3 жыл бұрын
When running that live server option in Visual Studio Code what's the keyboard shortcut for macOS to open up that panel? (he uses F1 on windows)
@einsteinwallah22 жыл бұрын
ok so file on hard drive with extension html or htm or any other cannot access pages from (say) a news or literature site but what if i am writing an android app using cordova platform ... once i finish writing app following your work arounds and i upload app will it work on any android which has "bought" from app store? ... remember person who "buys" just gets app ... will ajax or fetch still work because no server is running on android device of buyer afaik ... my code is not for a client's website but for a device like android ... when it is game like wordle hosted on nytimes website's games page it is still an access from server to server but when an app is running on an android device it is running exactly like a file from storage just like your error giving file ... please correct me if i am wrong
@KinTsume2 жыл бұрын
I'm having the same error but i'm using fetch(). I tried to load the page with live server but still doesn't work. Any advise?
@clutchmasterman3 жыл бұрын
problem is this only works for the .html alone. no other .js or .css file in the folder, which ofc breaks the project
@Felix-vu9tz2 жыл бұрын
thanks man, helped with starting my journey learning react, I was getting pretty frustrated as I wasnt even able to print hello world but now i should be able to actually get going, thanks!
@ankitkumar-zx9mq Жыл бұрын
Didnt worked for me
@HonduranHunk Жыл бұрын
Saved me what would have been hours of scouring the internet. Thank you so much
@Harry-gc8kb Жыл бұрын
but then whuy do you get the error if you fetch it from your own harddrive?
@chatebillychilima67622 жыл бұрын
Perfectly summed up.... Easy and great fix. Thanks bruv
@alin-alexandru-peter2 жыл бұрын
maaaaaaaaaaaaan your the best !!! I need your tutorial for the timer and i was getting this error you fixed it for me!1 great job ! you and coding train:))) are my favorite developers ever.
@baqsinternacional975 Жыл бұрын
Hi, thank you for the video, my problem is a bit diferent, my cliente need the site to run offline in a company, and he can´t install the server in machines, because security compliance, how can i fix that? i´ve been trying this for more then 24 hours. I´ve created a bat file to open navigators without security in anonimous mode, however that´s not the ideal
@alexthewebdesigner1856 Жыл бұрын
Thanx for posting this Bro. It was a great help!
@DJMIKE202 жыл бұрын
Can you show how to solve this issue with the fetch method ?
@imaansarwar23142 жыл бұрын
Sir i am still getting error. while trying to add form data to google sheet
@delegatewu2 жыл бұрын
This video fixed my javascript csv loading problem too. Thank you very much.
@ashmandeepkaur93922 жыл бұрын
I am already using live server in vs code but still getting this error. Can anyone help??
@aviuvaydov5690 Жыл бұрын
were you able to figure it out? I'm getting the same error
@JHAM293 жыл бұрын
How do i fix "because the scheme does not have a registered handler."
@JHAM293 жыл бұрын
"Cookies marked with SameSite=None must also be marked with Secure to allow setting them in a cross-site context. This behavior protects user data from being sent over an insecure connection."
@michaelwhite278 Жыл бұрын
Did you do the voice for the whale in the beached whale / chips bru video?
@almohaiminfarabi91812 жыл бұрын
Is there any way to do it without live server extention?
@jossuer71242 жыл бұрын
If I dont want to use a web server?
@changleding4296 Жыл бұрын
This really helps me a lot! Truly appreciate!!!
@WaheedRafiq3 жыл бұрын
If you were standing in front of me, I would have kiss you buddy, spent like 2 days trying to fix this issue, and posted comments on stack flow for help you explained it well, easy to follow and for someone who is Dyslexic your tutorial was disable people-friendly too. well done.
@lanaphillips14824 ай бұрын
you, sir, MADE MY EFFING DAY
@dopamine_Seeker3 жыл бұрын
Thank God! Randomly I found your video. Thank u 😊
@willturner9849 Жыл бұрын
Thank you so much! That was really helpful!
@PrincessCarrieGraham3 жыл бұрын
Modules in vanilla JavaScript produce the same error, BTW :-) and you totally rawk, because this worked on that too. Thank you.
@leonardosolorio9609 Жыл бұрын
Thank you bro, your explanation saved me loads of time! Thanks!!
@nisenobody82732 жыл бұрын
Oh my lord, thank you! As a rookie this was being a truly headache.
@rangabharath42533 жыл бұрын
Awesome as always 👍😀
@sunnylarosa47002 жыл бұрын
Thankyou! It's helping😁
@Huszan Жыл бұрын
Thank You man! You are a life saver!
@vicerogi3 жыл бұрын
I'm used to active live server, but this time I didn't cause I thought there will be some problem with scss ( it is the first time with this preprocessor) And I was searching different solutions. I did not expect it at all jajaj my gosh, thanks indeed!!
@davidpadron83292 жыл бұрын
Thanks man for the explanation. This helped me to solve the problem 🙂👍
@bhoopendrafagna8535 Жыл бұрын
this is not working with php code
@short_facts_entertaining Жыл бұрын
Great! Was super helpful
@blazi_03 жыл бұрын
Is live server like local host ?or they're different stuff ?
@thenarfer3 жыл бұрын
Fantastic video! I hope this will solve my problem. Will try to upload my files to my server and see if the problem still occurs.
@karlee86082 жыл бұрын
Thank you dCode. You just solved it issue
@catz64572 жыл бұрын
What about in GeoServer
@davestorm67182 жыл бұрын
You need Browser Preview Extension installed as well to get this to work, however, it's been deprecated in favor of Live Preview (you have to uninstall Live Server, first).
@soufianetaku3137 Жыл бұрын
thanks man it's really working
@umangupadhyay4335 Жыл бұрын
appriciated man .. thanks😇
@HAPPYLUCIA2 жыл бұрын
You are the best. You save my time a lot. Many thanks!!
@joshuacushing28583 жыл бұрын
Thanks so much! You saved me a lot of time and frustration!
@csf4442 Жыл бұрын
thanks so much for this! you saved my bacon!
@marhlenz6476 Жыл бұрын
Thanks man, excellent explanation.
@danielroman14842 жыл бұрын
I opened mine with live server but the error is still there
@aviuvaydov5690 Жыл бұрын
were you able to figure it out? I'm getting the same error.
@comentarioscomentar11 ай бұрын
i know that is too late but try this : you Don't make double click in the index.html archive to execute in the navigator. Instead, power on the server, open the navigator, enter in the address "localhost" and search manually the file to execute in the list.
@AhmedMohamed-sn1rp Жыл бұрын
Thank you so much It really helped me
@tentorias83443 жыл бұрын
Oh man, thank you so much, you save my life.
@freddecker76522 жыл бұрын
Well, something changed in our code, because it works in previous versions. We can't have people have to have a web server, that's ridiculous. Our app is designed so that anyone can download a zip file, unzip it, and run a web based tool. There must be another way.
@ScreenPrintR2 жыл бұрын
Thank you. This was extremely helpful Kudos to you.
@lindaoktavianty26883 жыл бұрын
Thank youu so much.. your video is so helping 😭
@anthonysanchez1192 жыл бұрын
te lo agradezco mucho estaba pariendo y pujando por ese error, pero gracias a ti lo he corregido. Awesome, thanks
@sarahz3193 жыл бұрын
so we have to download the visual studio code first
@isoftenterprise10 ай бұрын
On the money my boy!
@sarahz3193 жыл бұрын
how did u get into 03:36
@alfonsoramirezelorriaga11533 жыл бұрын
Go to settings and then go to online service settings.
@seayellow58342 жыл бұрын
Not solved. I got this even on a server. I used an XMLHttpRequest object and I got this.
@comentarioscomentar11 ай бұрын
i know that is too late but try this : you Don't make double click in the index.html archive to execute in the navigator. Instead, power on the server, open the navigator, enter in the address "localhost" and search manually the file to execute in the list.
@Atelier60612 жыл бұрын
Thank you so much. :) It worked for me
@itzigma91763 жыл бұрын
Pretty awesome!! Great Explanation. Well Thanks a lot.
@manojkolhe82213 жыл бұрын
thank u buddy, its very simple
@Roblify5 ай бұрын
Even with a web server, it still gives me the error
@topsportscoverage92573 жыл бұрын
Thanks for the great video!
@BlueJhonny7772 жыл бұрын
works for me, thanks ; )
@kamrantailor2 жыл бұрын
Thanks this helped me a lot
@romainba40982 жыл бұрын
You helped us a lot, dude
@sammyj60772 жыл бұрын
Thanks so much!!!!! 🙏
@youarepopo3 жыл бұрын
Thanks a lot! Great Explanation.
@krishshah39742 жыл бұрын
yo, thank you so much! :D
@20sinngamkhaidem862 жыл бұрын
Super Helpful
@leomussa36503 жыл бұрын
Thank you so much...amazing video
@t_sem842 жыл бұрын
thanks so much really apreciated
@alexhoubak58692 жыл бұрын
Very helpful thanks!
@jrrobles793 жыл бұрын
Im still getting this error even with the live server
@aviuvaydov5690 Жыл бұрын
were you able to figure it out? I'm getting the same error.
@comentarioscomentar11 ай бұрын
i know that is too late but try this : you Don't make double click in the index.html archive to execute in the navigator. Instead, power on the server, open the navigator, enter in the address "localhost" and search manually the file to execute in the list.
@vivekchavan9926 Жыл бұрын
thanks for the help !
@LearnWithSadik1653 жыл бұрын
Thanks, it's helpful for me.
@redpill50083 жыл бұрын
Thank you a lot. It worked!
@expauloczar Жыл бұрын
Very good!
@masophankhahle47993 жыл бұрын
i did all this solutions but im still getting the same
@SameerAbbasMughal3 жыл бұрын
Thank You Sir this video is very help full for me Thank altos!
@mandavijayaraju2140 Жыл бұрын
It's working for me.thanks
@azraiputrabarumundaulay20822 жыл бұрын
thank u ser, it works
@neontuts56373 жыл бұрын
Nice video sir, If Nodejs installed in your system use *lite-server*
@vadym13162 жыл бұрын
Excellent!
@dontcare9892 жыл бұрын
thx, u rly helps me
@dcode-software2 жыл бұрын
YOu're very welcome
@hs552361393 жыл бұрын
thank you, i didn't know "f1 => open live sever" i lost my 3 hours hahah