Coder Social home page Coder Social logo

Comments (7)

DaveHudson avatar DaveHudson commented on June 14, 2024 1

I tried that but same result, so I dug a little deeper and established that dealWithResults() wasn't getting called. It appears the issue is with the inquirer npm module.

Looking at the website https://www.npmjs.com/package/inquirer I noted it chained the function with a .then. A simple change from (pseudo code):

inquirer.prompt([...], function ( answers ) {
      dealWithResults( answers );
}

to

inquirer.prompt([ ... ]).then( function ( answers ) {
      dealWithResults( answers );
});

and it created the file perfectly!

Inquirer does appear to have been recently so possibly we have different versions of the module installed and there was a breaking change?

FYI when I install TiFastlane I get version 1.0.2 of Inquirer

from tifastlane.

ulizama avatar ulizama commented on June 14, 2024

I'm not able to reproduce, can you confirm your version?

tifast -v

from tifastlane.

DaveHudson avatar DaveHudson commented on June 14, 2024

It's odd one! Some version info:

oSX 10.11.4

tifast -v
0.6.0
node -v
v5.10.1
npm -v
3.8.3

from tifastlane.

ulizama avatar ulizama commented on June 14, 2024

I wonder if is a permission issue in that specific app directory.

Can you try starting a new project and then running the tifast setup in that new one?

from tifastlane.

jeffkempster avatar jeffkempster commented on June 14, 2024

I have the same issue. tifast setup works and asks me for info. The last question is "Key Alias. Alias associated with your application's certificate." After this the program ends and I never get a tifastlane.cfg file. I have also tried this on a new project and also do not get tifastlane.cfg file.

tifast -v 0.6.0
osx 10.11.4

thanks

from tifastlane.

ulizama avatar ulizama commented on June 14, 2024

I think it is a problem with inquirer, can @jeffkempster and @DaveHudson confirm by reverting to an older version of inquirer:

npm install [email protected]

And check if the issue persists?

Then I'll update our module to support the latest version.

from tifastlane.

DaveHudson avatar DaveHudson commented on June 14, 2024

@ulizama I confirm if I install [email protected] then tifastlane.cfg does get created!

from tifastlane.

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.