Open percyhanna opened 4 years ago
I didn't see anything that implied some local configuration or customization would have changed the exception message, but that is conceivable.
This is tied to #105 - there's also more information there. I am also experiencing this issue. Seems the first step is to update the polyfil dependency. This dependency is tied to npm I think. There's also a failed merge from dependabot from 20 days ago that tried updating npm.
I believe this is a bug in
avn
, but I'm not 100% certain.It seems that Node v12 (or some other version) has changed the message format for the require exception message, such that this regex no longer works.
If the current version of Node is v12, the plugin loading code fails to run properly. If I switch to an older version, e.g.
nvm use 8
and then try tocd
into the directory, it works fine.I will open a PR for a potential fix.
Details
0.2.4
v12.14.1
0.35.2
3.2.57(1)
The output of
__avn_debug
in the directory with a.node-version
file is:avn
is loaded in my~/.bash_profile}
file with:nvm specific
nvm
user I am confirming that I did not install with Homebrew