Deployment: 'Unexpected token <' after firebase deploy
See original GitHub issueVersion
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:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@trenoncourt this is a firebase issue. see: https://github.com/firebase/firebase-tools/issues/870
Okay, I think that too, I’ll try to talk it over with them. thank you