Skip to content

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

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

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 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

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

@laurenzlong
Copy link
Contributor

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 commented Jun 29, 2017

@mit-mit offered a fix via https://github.com/dart-lang/site-webdev/pull/788. Thanks.

@laurenzlong
Copy link
Contributor

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

@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 pushed 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
yuchenshi pushed a commit that referenced this issue Sep 18, 2024
Bumps [eslint-utils](https://github.com/mysticatea/eslint-utils) from 1.4.0 to 1.4.3.
- [Release notes](https://github.com/mysticatea/eslint-utils/releases)
- [Commits](mysticatea/eslint-utils@v1.4.0...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants