Skip to content

leap_cli: error: different prefix:

When trying to create a new provider, I tried to use the relative path to the platform instance and got this strange error:

leap new --contacts micah@leap.se --domain leap.se --name deploytest --platform=../platform .
error: different prefix: "" and "/home/micah/leap/deploytest"

if I specify the full path, it works:

leap new --contacts micah@leap.se --domain leap.se --name deploytest --platform=/home/micah/leap/platform . 
 = created .gitignore
 = created provider.json
 = created common.json
 = created Leapfile
 = created nodes/
 = created services/
 = created tags/
 = completed initialization

(from redmine: created on 2013-09-04, closed on 2014-03-24)