Skip to content

Deployment: 'Unexpected token <' after firebase deploy #2233

@trenoncourt

Description

@trenoncourt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions