Skip to content

Instantly share code, notes, and snippets.

@RobertFischer
Last active February 22, 2017 07:48
Show Gist options
  • Save RobertFischer/7e4f072910770823ba03 to your computer and use it in GitHub Desktop.
Save RobertFischer/7e4f072910770823ba03 to your computer and use it in GitHub Desktop.
Lazybones Can't Use Cached Versions
tmp$ lazybones list --cached
Cached templates
ext-geb 1.0.0
lazybones-project 1.0.1
tmp$ lazybones create ext-geb folder1
Creating project from template ext-geb (latest) in 'folder1'
Cannot find a template named 'ext-geb'. Project has not been created.
tmp$ ls ~/.lazybones/templates/
ext-geb-1.0.0.zip lazybones-project-1.0.1.zip
tmp$ lazybones create ~/.lazybones/templates/ext-geb-1.0.0.zip folder1
Creating project from template /Users/RCFischer/.lazybones/templates/ext-geb-1.0.0.zip (latest) in 'folder1'
Unexpected failure: 401 Unauthorized
Cannot create a new project when the template isn't locally cached or no version is specified
@RobertFischer
Copy link
Author

This worked.

tmp$ lazybones create file://~/.lazybones/templates/ext-geb-1.0.0.zip folder1
Creating project from template file://~/.lazybones/templates/ext-geb-1.0.0.zip (latest) in 'folder1'

Geb Template
=============
...

@sgates
Copy link

sgates commented Dec 1, 2014

Incase anyone else finds this - had same problem, was due to the omission of the version number. Adding the version worked as expected:

lazybones create ext-geb 1.0.0 folder1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment