Coder Social home page Coder Social logo

Stops on tifastlane setup about tifastlane HOT 15 CLOSED

ulizama avatar ulizama commented on June 14, 2024
Stops on tifastlane setup

from tifastlane.

Comments (15)

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

You're running on your App root folder?

from tifastlane.

dimovdaniel avatar dimovdaniel commented on June 14, 2024

yes

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

try
tifast setup

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

try to run all dependecies to check if they are installed:
deliver -v
snapshot -v
pem -v
sigh -v
produce -v
pilot -v

from tifastlane.

dimovdaniel avatar dimovdaniel commented on June 14, 2024

Same result with tifast.

Did also "sudo gem cleanup"

deliver 1.3.3
snapshot 0.10.2
pem 1.0.0
sigh 1.0.0
produce 1.0.0
pilot 1.0.0

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

tifast -v ?

from tifastlane.

dimovdaniel avatar dimovdaniel commented on June 14, 2024

0.3.6

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

where tifast
go to that path before /bin and go to /lib/node_modules/tifastlane/index.js

find exports.setup and paste the code here, please

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

also... find this function on index.js:
function dealWithResults(json)
uncomment the // console.log('json: ', json);

from tifastlane.

dimovdaniel avatar dimovdaniel commented on June 14, 2024

Here is the code

/*
@ export setup function to CLI
*/
exports.setup = function(opts){

    inquirer.prompt([
        {
            type: "list",
            name: "cli",
            message: "Which CLI do you want to use?",
            choices: [ "Appcelerator", "Titanium" ],
            filter: function( val ) { return val.toLowerCase(); }
        },

        {
            type: "list",
            name: "locale",
            message: "What locale do you want to use?",
            choices: [ "da", "de-DE", "el", "en-AU", "en-CA", "en-GB", "en-US", "es-ES", "es-MX", "fi", "fr-CA", "fr-FR", "id", "it", "ja", "ko", "ms", "nl", "no", "pt-BR", "pt-PT", "ru", "sv", "th", "tr", "vi", "zh-Hans", "zh-Hant" ]
        },

        {
            type: "input",
            name: "apple_id",
            message: "What's your [email protected]?",
            validate: function( value ) {
                var re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;

                var pass = re.test( value );

                if (pass) {
                    return true;
                } else {
                    return "Please enter a valid email";
                }
            }
        },

        {
            type: "input",
            name: "team_id",
            message: "What's your TEAM ID? Leave it if you don't want to use it"
        },

        {
            type: "input",
            name: "team_name",
            message: "What's your TEAM NAME? Leave it if you don't want to use it"
        }

    ], function( answers ) {
            dealWithResults( answers );
        }
    );
};

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

the strange thing is... I can run tifast setup anywhere I want =S

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

create a file( on your app root folder ) called tifastlane.cfg:

{
   "cli": "appc" 
 , "locale": "pt-BR" 
 , "apple_id": "[email protected]" 
 , "team_id": "null" 
 , "team_name": "null" 
}

make the changes you need

from tifastlane.

dimovdaniel avatar dimovdaniel commented on June 14, 2024

Thanks for the help. I'm not very familiar with npm packages and don't know what can be the problem.

Initializing TiFastLane
Your app "deliver" configuration has been created.
You can find your configuration files on: ./TiFLDelivery/com.nwa.shopify
Go in and tweak your configuration.

But this went well

from tifastlane.

DouglasHennrich avatar DouglasHennrich commented on June 14, 2024

I don't know what could went wrong too =P
great to hear that now it's working ^^
any more questions, feel free to ask
Thanks

from tifastlane.

dimovdaniel avatar dimovdaniel commented on June 14, 2024

Sure, np, Have a great day @DouglasHennrich

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.