Comments (17)
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.
from tfs-cli.
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.
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.
Yes. Our github main page has the link to install node (not io.js)
from tfs-cli.
@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.
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.
You can do that, i'm off the road right now
from tfs-cli.
I'm still experiencing this problem. The behavior is a little bit different.
Here's an example of the output:
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.
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.
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.
So anything lower than 4.X will do? I'm having this problem on 4.1.2.
from tfs-cli.
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.
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.
I have the same issue ...when can we expect fix ?
from tfs-cli.
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.
Just wanted to verify this bug is still present
from tfs-cli.
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)
- Release 0.10 missing from this GitHub repo. HOT 3
- fix high severity vulnerability from async HOT 2
- Uploading of Azure DevOps Extensions fails with timeout HOT 2
- Wrong mime type for `fsevents.node` HOT 7
- tfx command line publish issue for Azure DevOps Server 2022 RC1 HOT 4
- tfx build tasks create does not work anymore HOT 3
- tfx cannot handle TLS certificate issued by corp certificate authority HOT 4
- tfx command line publish issue for Azure DevOps Server 2022 RC1 HOT 1
- "Unexpected token import" for Azure DevOps custom task HOT 2
- tfx not found after installing 0.13.0 HOT 4
- Tfx 0.14 reports to be 0.13 HOT 1
- "A token is invalid" When Trying to Upload an Extension HOT 3
- ccccccucjednglchvdevjcerjtvhguhrcltvkrvilfve
- This repo is missing important files HOT 1
- Add documentation for `tfx extension init` HOT 1
- Fix repo and npm name mistmatch. HOT 2
- Pack an extension with binary executables for Mac/Linux using tar insteda of zip? HOT 1
- tfx extension publish not working for ADO cloud HOT 2
- Publish fails for service principal HOT 4
- 'tfx extension publish' not using cached PAT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfs-cli.