googlearchive / generator-angularfire

Yeoman generator for AngularFire: Angular + Firebase apps
191 stars 52 forks source link

changed config from json to js #5

Closed mwilc0x closed 9 years ago

mwilc0x commented 9 years ago

index.js is looking for config.js. Changed from config.json to config.js.

katowulf commented 9 years ago

Yep, fixed that and now I'm getting errors about missing chalk and cdnify deps. Le sigh. Npm and I are not friends today.

mwilc0x commented 9 years ago

I closed this one and re-opened another as I forgot to remove config.json. Am seeing same errors with npm now.

mwilc0x commented 9 years ago

I'm seeing all tests pass and building successfully now. Possibly environmental issue?

katowulf commented 9 years ago

I haven't managed to get mine to succeed yet. I still see a plethora of silly npm errors. What did you use to install generator-angularfire locally? cd generator-anuglarfire; npm install . -g?

mwilc0x commented 9 years ago

I don't have it installed locally anymore, I removed it. Also I uninstalled generator-angularfire and generator-angular from global and then installed both again globally. Hope this helps.

katowulf commented 9 years ago

Thanks. FYI - you don't need generator-angular anymore with the latest version; it's all included.

mwilc0x commented 9 years ago

Nice, thanks!

katowulf commented 9 years ago

Can you try the latest on npm and let me know if that works for you? Still having a lot of dependency issues here.

mwilc0x commented 9 years ago

Everything is still looking smooth on my side, just got latest from npm. Is it still throwing a lot of errors for you?

Am also looking into some other issue with the grunt serve task. Looks like it's not working in generator-angular as well... are you seeing the same?

katowulf commented 9 years ago

I can't get that far. Keep seeing this when I try to run grunt after yo angularfire

Loading "cdnify.js" tasks...ERROR

Error: Cannot find module 'chalk'

Nothing so far has helped; I've completely cleaned/reinstalled node, npm, yo, bower, et all with no improvement.

But in theory, serve should work fine. It does in my local build. Any specific error?

mwilc0x commented 9 years ago

I see the same chalk module error when I run grunt.

This is what I see when I run grunt serve:

Running "wiredep:app" (wiredep) task Warning: ENOENT, no such file or directory '/Users/mikewilcox/code/quiz/app/bower.json' Use --force to continue.

mwilc0x commented 9 years ago

Looks like it's been filed as an issue with generator-angular yeoman/generator-angular#841

hmm...

katowulf commented 9 years ago

Yep, resolved it by downgrading wiredep to 0.7.0 for now. So all is good in our build at least. I've cut a new version with all the changes. Thanks for the assist!