New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty lineman-angular project breaks 'lineman config' #6
Comments
Could you make sure you update your lineman to the very newest version and try again? There was a bug in lineman config causing this as recently as 0.24.6 or so On Wed, Feb 19, 2014 at 8:26 AM, dcfsc notifications@github.com wrote:
|
Thanks, Justin, but it looks like I am current. I also installed npm-check-updates and it reported up to date. Am I looking in the right place?
|
Cool, we'll look into it |
Okay, I was able to reproduce the issue and figured out (roughly) what's going on. You have a global lineman install of < 0.23.0 in spite of your latest-and-greatest lineman & lineman-angular local installs. For some reason, the global lineman is loading the config (which doesn't contain To remedy your situation, you'll want to globally install the latest lineman:
I want to stress, you did nothing wrong here. This is (or was) a bug in the Lineman's CLI. I'm going to investigate whether this bug still exists in newer versions of Lineman (I suspect I already fixed this) before I close this out. Apologies, @dcfsc!! 😢 |
Yep, I just confirmed that the latest version of Lineman fixes this issue by always delegating to the local version (when present), meaning that the local version of Lineman will always win, regardless of whether it's newer or older than the global. Updating your global lineman should fix you. Apologies for the inconvenience! |
I am trying to modify an existing Angular project to use lineman. I am using NPM 1.3.6. I started with the lineman-angular-template but when I run 'lineman config' I get the error:
So to figure out the problem, I started over with an empty project generated by lineman
Now I install the lineman-angular plugin
Running 'lineman config' gives the above error.
I am a bit new at this. So am I missing a step? Do I need to add a config somewhere when installing the lineman-angular plugin? Or is the plugin itself missing something?
The text was updated successfully, but these errors were encountered: