Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: this.stream.clearLine is not a function #382

Closed
chalin opened this issue Jun 29, 2017 · 5 comments
Closed

TypeError: this.stream.clearLine is not a function #382

chalin opened this issue Jun 29, 2017 · 5 comments

Comments

@chalin
Copy link

@chalin chalin commented Jun 29, 2017

Starting today, on an attempted firebase deploy of the https://webdev.dartlang.org site from Travis we now get the following error (the excerpt is from the end of this Travis log):

=== Deploying to 'webdev-dartlang-org'...

i  deploying hosting
i  hosting: preparing publish directory for upload...
FIREBASE WARNING: Exception was thrown by user callback. TypeError: this.stream.clearLine is not a function
    at ProgressBar.terminate (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/progress/lib/node-progress.js:177:17)
    at ProgressBar.tick (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/progress/lib/node-progress.js:91:10)
    at /home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/lib/deploy/hosting/deploy.js:65:17
    at /home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/firebase/lib/firebase-node.js:201:710
    at ec (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/firebase/lib/firebase-node.js:52:165)
    at ac (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/firebase/lib/firebase-node.js:31:216)
    at bc (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/firebase/lib/firebase-node.js:30:1259)
    at Ji.h.Ib (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/firebase/lib/firebase-node.js:220:287)
    at Rh.h.Jd (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/firebase/lib/firebase-node.js:186:283)
    at Fh.Jd (/home/travis/.nvm/versions/node/v6.11.0/lib/node_modules/firebase-tools/node_modules/firebase/lib/firebase-node.js:176:364) 

A regression of #73?

cc @kwalrath

@laurenzlong
Copy link
Contributor

@laurenzlong laurenzlong commented Jun 29, 2017

#373 Should have fixed this (it's not released yet). Can you try the tip of the master branch?

@laurenzlong
Copy link
Contributor

@laurenzlong laurenzlong commented Jun 29, 2017

Alternatively, reinstalling firebase-tools should update all the dependencies to the latest versions, and will thereby update the progress module too.

@chalin
Copy link
Author

@chalin chalin commented Jun 29, 2017

@mit-mit offered a fix via dart-lang/site-webdev#788. Thanks.

@laurenzlong
Copy link
Contributor

@laurenzlong laurenzlong commented Jun 29, 2017

Yes that works too! Thanks for the update.

mattd added a commit to mattd/grades-app that referenced this issue Jul 2, 2017
@akshaynaik404
Copy link

@akshaynaik404 akshaynaik404 commented Jul 10, 2017

@laurenzlong Installing directly from master branch works for now. Your fix still not released yet, I guess.

devversion added a commit to devversion/material2 that referenced this issue Jul 15, 2017
* Workaround for a Firebase bug (firebase/firebase-tools#382) that causes the deployment to not work in Travis CI.
jelbourn added a commit to angular/components that referenced this issue Jul 17, 2017
* Workaround for a Firebase bug (firebase/firebase-tools#382) that causes the deployment to not work in Travis CI.
PoiScript added a commit to PoiScript/solomon that referenced this issue Jul 18, 2017
PoiScript added a commit to PoiScript/solomon that referenced this issue Jul 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants