phtn458
phtn458

Reputation: 505

READ ERROR when deploying Polymer web app onto Firebase hosting

I'm trying out Polymer web components for the first time and everything is working perfectly fine using Brackets Live Preview.

But when I try to deploy the app using Firebase hosting I get a READ ERROR.

READ ERROR - Could not read directory. Remove symbolic links / shortcuts and try again.

I updated firebase-tools but still get the same error.

I've spent so many hours going through tech forums hoping I'd find somebody having the same issue but unsuccessful.

Any information regarding my inquiry is much appreciated.

Upvotes: 1

Views: 313

Answers (1)

Chris Raynor
Chris Raynor

Reputation: 1695

Your app's directory contains a shortcut or a symbolic link. You need to replace that with the actual content before firebase-tools can upload the site. Once you've removed the shortcut firebase deploy should work as expected

Upvotes: 3

Related Questions