PredixDev / guided-tutorials

Other
1 stars 2 forks source link

MacOS - Running script got failed. #4

Open tiennth opened 7 years ago

tiennth commented 7 years ago

I tried to run this script in my Mac and this script never run successfully.

I figure out that the variables in this script somehow it is incorrect. For example:

If I hardcode the value of SETUP_MAC to bypass the setup process (my Mac has been setup all tools already), then it will fail when cloning project from github (next step after running SETUP_MAC). Here is the error:

warning: Could not find remote branch 1.0.151 to clone. fatal: Remote branch 1.0.151 not found in upstream origin

Please review your script again. Thanks,

turnerth commented 7 years ago

Hi, can you describe the original original script you called?

tiennth commented 7 years ago

I started from this website: http://go.digital.ge.com/predix-tshirt-instructions.html?aliId=47594545. The script is: https://raw.githubusercontent.com/PredixDev/guided-tutorials/master/campaign.sh

swapnavad commented 7 years ago

We had an issue with our deployed release and now its fixed. Please delete the following version.json , predix-scripts folder and re-run the following scripts bash <( curl https://raw.githubusercontent.com/PredixDev/guided-tutorials/master/campaign.sh ) Thank you for your patience.Please let me know your findings.

tiennth commented 7 years ago

Great! I confirm the issue was fixed. Thank you for your hard work!

tiennth commented 7 years ago

One more problem I see it's persisted in this script and all your guide in predix.io, it's this message:

Your first Predix app was successfully deployed at https://. Please open the application in your browser to claim your T-shirt!

The link of deployed application in the message is missing. Please correct it in this script and your guides/tutorials (sorry I don't remember exactly which tutorial the incorrect script is in)