GithubHelp home page GithubHelp logo

Comments (7)

nicolasgarnier avatar nicolasgarnier commented on June 19, 2024

hey @patelneel1994 Do you have any errors in the JS Console? What steps have you skipped? FYI you should just have skipped Step 2 and 3 of Create Firebase Project in the README.md

from friendlypix.

patelneel1994 avatar patelneel1994 commented on June 19, 2024

Thank you for quick reply @nicolasgarnier I did skip step 2 and 3. I basically copied the header what was provided in Firebase console for web version and put it in index.html and then deployed it. It does deploy with security and storage rules. When I open the given hosted link it works fine. It opens up the page, but it doesn't have those sign in link! I can provide screenshot if you like!
I think I had deleted script block header.
Even after adding it back still doesn't work.
Hosted linke: https://fir-test-6d3dd.firebaseapp.com
screenshot1

Errors:

The stylesheet https://fir-test-6d3dd.firebaseapp.com/bower_components/material-design-lite/material.min.css was not loaded because its MIME type, "text/html", is not "text/css". fir-test-6d3dd.firebaseapp.com
The stylesheet https://fir-test-6d3dd.firebaseapp.com/bower_components/sweetalert/dist/sweetalert.css was not loaded because its MIME type, "text/html", is not "text/css". fir-test-6d3dd.firebaseapp.com
SyntaxError: expected expression, got '<' page.js:1:0
SyntaxError: expected expression, got '<' jquery.min.js:1:0
SyntaxError: expected expression, got '<' latinize.js:1:0
SyntaxError: expected expression, got '<' sweetalert.min.js:1:0
SyntaxError: expected expression, got '<' utils.js:1:0
SyntaxError: expected expression, got '<' firebase.js:1:0
SyntaxError: expected expression, got '<' auth.js:1:0
SyntaxError: expected expression, got '<' search.js:1:0
SyntaxError: expected expression, got '<' uploader.js:1:0
SyntaxError: expected expression, got '<' userpage.js:1:0
SyntaxError: expected expression, got '<' post.js:1:0
SyntaxError: expected expression, got '<' feed.js:1:0
SyntaxError: expected expression, got '<' routing.js:1:0
SyntaxError: expected expression, got '<' material.min.js:1:0

from friendlypix.

nicolasgarnier avatar nicolasgarnier commented on June 19, 2024

Ok it seeems the error happened because the scripts did not compile. Before deploying can you make sure you ran 'npm run build' ?

from friendlypix.

nicolasgarnier avatar nicolasgarnier commented on June 19, 2024

You can refer to this issue: #22

from friendlypix.

patelneel1994 avatar patelneel1994 commented on June 19, 2024

These are the errors I got.
screenshot1

from friendlypix.

nicolasgarnier avatar nicolasgarnier commented on June 19, 2024

Have you ran npm install ? This should make sure that babel is installed.

from friendlypix.

patelneel1994 avatar patelneel1994 commented on June 19, 2024

Even after running that command still gives me same error that I have attached above. Here is the log of "npm install"
screenshot1

from friendlypix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.