cloud66-oss / starter

Helping you get started with containerized apps.
https://www.cloud66.com/opensource-software/
Apache License 2.0
311 stars 57 forks source link

Failed to write service.yml #44

Closed olimart closed 7 years ago

olimart commented 7 years ago

With c66starter-1.0.2 starter -overwrite dockerfile,service,docker-compose raises

Failed to write service.yml due to: template: service.yml.template:29:6: executing
"service.yml.template" at <.Name>: can't evaluate field Name in type string

and docker-compose does not get created.

foldingbeauty commented 7 years ago

Hi @olimart. you need to upgrade to starter-1.1.0 to work with the new templates. please upgrade to 1.1.0 thanks.

olimart commented 7 years ago

Thanks @kamerblauwlicht

It seems that 1.1.0 is not available from homebrew. Can you please explain how to upgrade on Mac or upgrade homebrew. Thanks

unRARed commented 6 years ago

Is there a solution yet for Homebrew? The homepage of http://www.startwithdocker.com/ still recommends it.

brew tap cloud66/tap
brew install c66starter
cd /my/rails/repo
starter

Output:

... 
----> Writing service.yml...
Failed to write service.yml due to: template: service.yml.template:29:6: executing "service.yml.template" at <.Name>: can't evaluate field Name in type string
unRARed commented 6 years ago

Nevermind, curl install from README worked: curl -sSL https://raw.githubusercontent.com/cloud66/starter/master/install.sh | bash

website should probably still be updated to reflect...

khash commented 6 years ago

There shouldn't be any references to brew on the site

r4nd3l commented 2 years ago

Hi there!

I also have a similar issue:

----> Found Script: npm start ----> Writing Dockerfile... ----> Writing service.yml... Failed to write service.yml due to: template: service.yml.template:21:9: executing "service.yml.template"

Using the version of 1.4.3

Any fix for that? Would very appreciate