-
Notifications
You must be signed in to change notification settings - Fork 54
AVN goes into an infinite loop on cd into a directory with a .node-version
file
#41
Comments
It looks like this is a bit of a fork bomb. My guess is that it's something conflicting that's trying to do something on changing directories as well. I'd recommend disabling most extras and just enabling avn, then enable until you find the problem. rbenv would be a good candidate as I haven't tested with that. Let me know what you find and we can try to make things compatible. FYI: in using zsh with oh-my-zsh as well. So it should work! |
rbenv doesn't override |
I've worked with the rvm team to ensure comparability and opened hyperupcall/autoenv#92 for comparability with autoenv. I use both of those, too. See the hack that I posted for how I get things working between all three. |
Turns out that, as you predicted, disabling rvm did not fix the problem. I'll get a chance to mess around with my setup more this weekend and will respond back once I've tracked down the cause. Thanks for your responsiveness! |
Sorry for the late update on this @wbyoung. I had the chance to try the process-of-elimination thing a few days ago and now I'm more confused than ever. I disabled literally everything except for NVM, NPM and AVN—including Oh My Zsh—and I still got the fork bomb. My next step is to try it with a brand new user on my machine (running, since I didn't mention it before, OS X 10.11.4) and seeing if I can slowly add things to it to make it break. |
@ravasthi I just found an issue with my config personally & updated the Thanks for the update, by the way. |
Just what the title says. Trying to cd into a directory with a
.node-version
file, or run__avn_debug
in that directory goes into an infinite loop for me. I've done it with an empty directory containing nothing but the.node-version
file. My primary shell is zsh, and I useoh-my-zsh
with it. I've reproduced the issue with both zsh and bash. I'm hoping this is just a setup problem on my part. Please let me know if there's something I'm doing wrong—my dotfiles setup is on github.Thanks for your time.
Details
The output of
__avn_debug
in the directory with a.node-version
file is:Note that there are more processes the longer I wait before I run
ps
.avn
is loaded in my~/.bashrc
file with:avn
is loaded in my~/.zshenv
file with:nvm specific
nvm
user I am confirming that I did not install with HomebrewThe text was updated successfully, but these errors were encountered: