Open
Description
I am using the git version where #189 merged. And I am also using nvm
with .nvrmc
in some folders with or without .env
in them.
When I cd
to a folder with .nvmrc
defined with a node version in it and it is different from the default version. I see the below outcome.
~/yyy $ cd dev
Found '/Users/xxx/yyy/dev/.nvmrc' with version <12.18.1>
Now using node v12.18.1 (npm v6.14.5)
shasum: Now using node v10.19.0 (npm v6.13.4):
autoenv_source:.:6: no such file or directory: Now using node v10.19.0 (npm v6.13.4)
shasum: Reverting to nvm default version:
autoenv_source:.:6: no such file or directory: Reverting to nvm default version
~/yyy/dev $
Even though I receive the above error, nvm uses the correct version.
~/yyy/dev $ node --version
v12.18.1
~/yyy/dev $ cd ..
Reverting to nvm default version
Now using node v10.19.0 (npm v6.13.4)
~/yyy $ node --version
v10.19.0
And no error reverting to old version when changing to parent folder.