Upgrading to angularfire 2 and firebase 3 error - angularjs

Upgrading to angularfire.js 2 and firebase.js 3, I'm getting the following errors:
- Failed to load resource: the server responded with a status of www.googleapis.com/identitytoolkit/v3/relyingparty/getProjectConfig?key= .........
404 (Not Found)
- XMLHttpRequest cannot load ......... Response for preflight has invalid HTTP status code 404
Thanks in advance for your help.

You need to run it on a local server. You are getting the CORS-error.
if you look at the firebase you will see two whitelisted url. One is localhost and the other is your-firebase-project-name.firebase.google.com

Related

Failed to load resource: the server responded with a status of 403 (), youTube API with Netlify

im doing a React Youtube clone with te youtube API, and its working fine in a local server, but when I host the project with Netlify I have this error:
Failed to load resource: the server responded with a status of 403 ()
createError.js:16 Uncaught (in promise) Error: Request failed with status code 403
at e.exports (createError.js:16)
at e.exports (settle.js:17)
at XMLHttpRequest.p.onreadystatechange (xhr.js:61)
I also tried to host with Firebase, and there is no error but the data never load..
You might try the following:
check the Authorization Guide for how to consume the Youtube API. It may be allowed for localhost usage but requires you to register a web application with credentials.
Authorization Docs

Problem with deployment by using Netlify in first step new site from Git

I am trying to deploy my site(testing site) witNetlify,
by using https://geeeva.github.io/test/ as site, and in first step create a new site on Netlify in form I use a branch to deploy - gh-pages and empty field for build command and empty field for publish directory. I got a link for the site https://hardcore-neumann-8b6a13.netlify.com from Netlify but the content is unfortunately empty, it's a blank page, and when I enter in code inspector I have js errors in console:
Failed to load resource: the server responded with a status of 404 () main.b6a753f2.chunk.js:1 Failed to load resource: the server responded with a status of 404 () 2.6efc73d3.chunk.js:1 Failed to load resource: the server responded with a status of 404 () main.b6a753f2.chunk.js:1 Failed to load resource: the server responded with a status of 404 () /test/favicon.ico:1 Failed to load resource: the server responded with a status of 404 () /test/manifest.json:1 Failed to load resource: the server responded with a status of 404 () /test/manifest.json:1 Manifest: Line: 1, column: 1, Unexpected token. main.f3f5397b.chunk.css:1 Failed to load resource: the server responded with a status of 404 ()
Can somebody help with this problem?

Failed to load resource: the server responded with a status of 404 (Not Found) angular4 typescript

I am working with ANGULAR4.
My issue here is to extract data from a database and show it on my interface.
I am facing a problem: "Failed to load resource: the server responded with a status of 404 (Not Found)"
Do anyone of you have an idea, please?

Exporting a pdf - Failed to load resource: the server responded with a status of 404 (Not Found)

I am getting a 404 error when I try to export tablles and a ui-grid as a pdf using pdfmake. It works perfectly in Firefox, but not with Chrome
I am getting this msg twice
Failed to load resource: the server responded with a status of 404 (Not Found)
and then it points to both
ui-bootstrap-2.4.0.min.js
and
:7001/favicon.ico
I am using a localhost to run the application.
My current version is 57.0.2987.133
ui-bootstrap is set in the js folder with all the other files.
Any ideas or help would be greatly appreciated!
i had to turn off add blocker and it worked

Error while running angular js html page on a server

When I'm running my HTML page through a server I'm always getting an error with my angular JavaScript file included. But it runs fine without local server in Mozilla Firefox and Safari but not with Google Chrome (XML errors with Google Chrome).
//localhost:8000/Users/harsha/Documents/angular%20js/nganimate.js
Failed to load resource: the server responded with a status of 404 (File not found)
Failed to load resource: the server responded with a status of 404 (File not found)
angular.js:4361Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.4.0/$injector/modulerr?p0=controllerapp&p1=Er…ogleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.0%2Fangular.min.js%3A19%3A264)
The Screenshot of error message in console
You have error in js file path .
//localhost:8000/Users/harsha/Documents/angular%20js/nganimate.js
So index file is unable to locate the file.
Users/harsha/Documents/angular%20js/nganimate.js
The path of your server isn't the one from your C: it's relative from where your start your server. If you need us to figure out from where your server start, you need to tell us what is the server.
And if it's the grunt web server, show us your build file.

Resources