jamesknelson / create-react-app

MIT License
14 stars 0 forks source link

Uploading to firebase cloud functions #2

Closed DB-Alex closed 5 years ago

DB-Alex commented 5 years ago

Hi,

I saw you also use the SSR kit with firebase. So i started to build it the same.

But i have this error when i deploy the cloud funcitons:

functions[api(us-central1)]: Deployment error. Build failed: {"error": {"canonicalCode": "INVALID_ARGUMENT", "errorMessage": "yarn_install had stderr output:\nerror Fetch succeeded for undefined. However, extracting \"./webapp.tgz\" resulted in hash \"c8200b412bdcbb08149e96cdbd715429155d2d52\", which did not match the requested hash \"71d5e09c82c5dfe3cba27bf868eef9e549936d89\".\n\nerror: yarn_install returned code: 1", "errorType": "InternalError", "errorId": "B2CA37A4"}}

Do you have any idea?

DB-Alex commented 5 years ago

Found the issue, i was copying an old yarn.lock file to the build folder.