Giter Site home page Giter Site logo

Comments (17)

teddyward avatar teddyward commented on July 19, 2024

hi. sorry you're having trouble. Works for me on windows right now but maybe there's something different about our setups. What setup are you running? Did you install globally from npm right before running the command the first time? Did you regulp the project and install from the _build/app folder after pulling from master? Try following the steps exactly as shown in the pictures below.

When pulling down from npm:
from npm

When building from source:
create tasks

from tfs-cli.

teddyward avatar teddyward commented on July 19, 2024

let me know if that works. hopefully it helps. what's really weird is the fact that it's echoing the task name back to you... I think that's the cause of the problem you're having, but I don't see that logic anywhere the history of inputs.ts prompt/get method... so send me info about your workflow if that ^ doesn't work...
https://github.com/Microsoft/tfs-cli/blob/master/app/lib/inputs.ts

from tfs-cli.

Suchiman avatar Suchiman commented on July 19, 2024

I've figured it out, apparently it's not a bug in tfx but rather in io.js.
This is my first time on npm / node.js so i went to https://www.npmjs.com/ to get npm which is required to install tfx.
On the bottom on the page under installing npm it provided two links, one for io.js and one for node. I've picked the first one to io.js.
Now i've uninstalled io.js, installed node.js from the second link and now it's working!

Sorry for the confusion, it might should be mentioned in the readme that io.js can cause problems, not sure if investigation is worth it, reading on the node page that io.js is being merged back into node.

from tfs-cli.

bryanmacfarlane avatar bryanmacfarlane commented on July 19, 2024

Yes. Our github main page has the link to install node (not io.js)

from tfs-cli.

Suchiman avatar Suchiman commented on July 19, 2024

@bryanmacfarlane i'm sorry, i've checked https://github.com/Microsoft/tfs-cli/blob/master/README.md , all files inside docs, and the wiki but none of them mentions node, they all assume you already have npm installed (and the npm webpage offers io.js first)

from tfs-cli.

bryanmacfarlane avatar bryanmacfarlane commented on July 19, 2024

oooh - you're correct. I was mixing up with https://github.com/Microsoft/vso-agent which does.

Want to do a PR? If not, I can

from tfs-cli.

Suchiman avatar Suchiman commented on July 19, 2024

You can do that, i'm off the road right now

from tfs-cli.

carlsonad avatar carlsonad commented on July 19, 2024

I'm still experiencing this problem. The behavior is a little bit different.

Here's an example of the output:

image

The short task name is echoed and the friendly name is skipped.

I installed npm with the latest node release from this url: https://nodejs.org/download/release/latest/

from tfs-cli.

Suchiman avatar Suchiman commented on July 19, 2024

I haven't tested it yet but i've recently read that IO.JS merged back into NodeJS so this error might have propagated.

from tfs-cli.

carlsonad avatar carlsonad commented on July 19, 2024

I installed an older version of node and now it works.

Like you said the 4.x version of node merges in the io.js project which seems to have caused the problem.

from tfs-cli.

HSAR avatar HSAR commented on July 19, 2024

So anything lower than 4.X will do? I'm having this problem on 4.1.2.

from tfs-cli.

carlsonad avatar carlsonad commented on July 19, 2024

I don't think anything lower then 4.x will do. I know 0.12.7 works. I think that was that last release before the merge with io.js.

from tfs-cli.

scottdallamura avatar scottdallamura commented on July 19, 2024

I have a trivial repro that works with 0.12.x and fails with 4.0.0 and 4.1.2. readline echoes the first input line back, which does look related. Interestingly, it doesn't echo subsequent lines.

from tfs-cli.

peterM avatar peterM commented on July 19, 2024

I have the same issue ...when can we expect fix ?

from tfs-cli.

bryanmacfarlane avatar bryanmacfarlane commented on July 19, 2024

Use node 0.12.7. It's a bug in node4.x that hasn't been fixed yet. I don't have the link handy but I'll include it.

from tfs-cli.

CharlesSterling avatar CharlesSterling commented on July 19, 2024

Just wanted to verify this bug is still present

from tfs-cli.

T-Hugs avatar T-Hugs commented on July 19, 2024

We're releasing a large update to tfx-cli today, and this issue should be fixed. I revamped the arg prompting logic, and it now implements a queue of prompts so that the next prompt won't be shown until we have a value for the previous.

from tfs-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.