Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Getting stuck on muffin new #47

Closed
fa7ad opened this issue May 18, 2016 · 10 comments
Closed

Getting stuck on muffin new #47

fa7ad opened this issue May 18, 2016 · 10 comments
Labels

Comments

@fa7ad
Copy link

fa7ad commented May 18, 2016

I tried it a couple of times every time it outputs undefined and just freezes there.
screenshot from 2016-05-18 08-39-45
I know this isn't a mongo issue because I can log into mongo just fine
screenshot from 2016-05-18 08-40-07

any ideas what could be the problem? I really wanna try this out

@leo
Copy link
Owner

leo commented May 18, 2016

Can you post your node version and the version of muffin? 😊 Really weird. Also: It looks like although your database password is "muffin" (which has 6 chars), there are more than 6 chars in the upper image for the DB password...

@fa7ad
Copy link
Author

fa7ad commented May 18, 2016

sorry wrong screencap. the password is "l33tpass"... which works fine.
screenshot from 2016-05-19 03-51-32

Muffin is at version 0.2.0
screenshot from 2016-05-19 03-53-25

@fa7ad
Copy link
Author

fa7ad commented May 18, 2016

And in case you wanna check the roles
screenshot from 2016-05-19 04-07-23

@leo
Copy link
Owner

leo commented May 20, 2016

@fa7ad Can you clone the master branch and try it again (please uninstall muffin-cli before that)? Should work fine now!

@fa7ad
Copy link
Author

fa7ad commented May 20, 2016

yeah the master branch worked, I had to manually create the collections though. and apparently i have to recreate users for each database before attempting to authenticate (according to StackOverflow) 😦

@fa7ad
Copy link
Author

fa7ad commented May 20, 2016

Also, I entered all the information (username/password) when muffin new asked for them, but now I have what looks like a blank templated .env file... room for improvement? or bug?
screenshot from 2016-05-21 02-09-27

@leo
Copy link
Owner

leo commented May 22, 2016

Hehe... Yeah, I think the "creating users for each database" is just how MongoDB works.

Regarding the .env file: Yep, I haven't implemented that the command line utility changes the contents of the file on the fly before writing them to the destination folder. So yes, there's still room for improvement and I'm planning to add it soon. However, a PR is also welcomed 😊

Closing this for now, since the main issue seems to be resolved.

@leo leo closed this as completed May 22, 2016
@leo
Copy link
Owner

leo commented May 22, 2016

Just opened #52

@leo
Copy link
Owner

leo commented May 22, 2016

Should be fixed on master. Will release it with the next minor version!

@fa7ad
Copy link
Author

fa7ad commented May 22, 2016

thanks, I was gonna take a look and maybe PR but, looks like you already fixed it 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants