question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment: 'Unexpected token <' after firebase deploy

See original GitHub issue

Version

3.0.0

Node and OS info

Node 9.5.0 / yarn 1.9.4 / Windows 10

Steps to reproduce

vue create app with default (babel/eslint) cd app firebase init with same configuration as https://cli.vuejs.org/guide/deployment.html#firebase yarn build firebase deploy

What is expected?

App must load normaly with default vue template

What is actually happening?

Only index.html is loaded, other js/css files are replaced by index.html. That causes Uncaught SyntaxError: Unexpected token < for js files

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
topviscommented, Aug 15, 2018
0reactions
trenoncourtcommented, Aug 15, 2018

Okay, I think that too, I’ll try to talk it over with them. thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Uncaught SyntaxError: Unexpected token <" after firebase ...
Ths issue is caused when a new version of firebase hosting is deployed, it might have wiped out all the resources serving from...
Read more >
Firebase functions cannot deploy : SyntaxError: Unexpected ...
I am trying to deploy a function to firebase and I get an error during deployment. Error: Functions did not deploy properly.
Read more >
Parsing error: Unexpected token => : r/googlecloud - Reddit
I am trying to learn Firebase functions. I followed tutorial in official documents and when I try to deploy function I get error....
Read more >
SyntaxError: Unexpected token/in JSON at position || Firebase ...
I'm trying to deploy a project with firebase init. When I get to the part that asks me this: "What file should be...
Read more >
Firebase CLI reference
Emulator Suite · Authentication · Realtime Database · Firestore · Storage · ML · Hosting · Cloud Functions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found