-
Notifications
You must be signed in to change notification settings - Fork 54
Cannot find module #105
Comments
Does |
There are no plugins inside the folder. |
Looks like you should try reinstalling.
Then install. |
This is what happens during setup:
|
That seems quite strange. Did that happen before when you ran the setup as well? This is the type of thing I'd expect all users to experience if it wasn't something unique to your environment. Any chance you can work on tracking down where the issue is coming from within Without more detail, I'm going to be honest, I doubt I'd be able to come up with a solution. |
Thanks for your reply, @wbyoung. I've tried a few more things including switching from the latest node version at the time
|
Ok, could be part of a dependency issue and comparability. Perhaps upgrading all of the dependencies of the project would fix it. I don't do much coding these days. If you want to give that a try, go for it & let me know or submit a PR. |
Avn correct installed with node version 10.0.0 TypeError: cb.apply is not a function |
+1 Setting up a new mac today. First tried to install with Node@12 and got the exact same thing as @lobanovkirill. Switched to Node@10 and it worked. |
Thanks for confirming, @tybro0103. PR welcome. |
Closing this in favor of #106 which better represents the issue that @verpixelt had after reinstall. |
I ran into the same issue when updating from node 10.13.0 to 14.15.1 using nvm
Fixed it as suggested by @wbyoung with:
EDIT: if you do not have the node 10 version installed yet, you have to run |
Thanks @konstantintieber. It worked |
This seems to have stopped working for node 16, I keep getting the same TypeError again |
@cko-jimmy-wong see/comment on #106, but please note the last comment in there about the lack of attention this project gets. |
On node
14.5.0
when trying to switch to a folder with a.node-version
folder the app throws the following error:Fatal Error: Cannot find module '/Users/verpixelt/.avn/plugins/avn-nvm'
Details
avn 0.2.4
node 14.5.0
n 6.5.1
zsh 5.7.1
The output of
__avn_debug
in the directory with a.node-version
file is:Fatal Error: Cannot find module '/Users/verpixelt/.avn/plugins/avn-nvm'. Require stack: - /Users/verpixelt/.avn/lib/plugins.js - /Users/verpixelt/.avn/lib/hooks.js - /Users/verpixelt/.avn/lib/avn.js - /Users/verpixelt/.avn/index.js - /Users/verpixelt/.avn/bin/_avn
avn
is loaded in my~/.{bash|zsh}{_profile|rc}
file with:`[[ -s "$HOME/.avn/bin/avn.sh" ]] && source "$HOME/.avn/bin/avn.sh" # load avn`
The text was updated successfully, but these errors were encountered: