We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/tj/n/blob/v9.2.0/bin/n#L1561
Instead local cache_root="${N_PREFIX}/n" needs local cache_root="${N_CACHE_PREFIX}/n"
local cache_root="${N_PREFIX}/n"
local cache_root="${N_CACHE_PREFIX}/n"
N_CACHE_PREFIX=/blabla/any/path
N_PREFIX=/some/other/folder
mkdir -p $N_CACHE_PREFIX $N_PREFIX && n doctor
doctor command run successful
get error
Checking permissions for cache folder... INFO Cache folder does not exist: /usr/local/n
$ n --version 9.2.0 $ command -v node ? $ node -p process.platform ?
The text was updated successfully, but these errors were encountered:
Oops. The directory checks in "doctor" did not get updated when the possible separate cache folder got added in #717
Sorry, something went wrong.
Thanks for report. Fixed in v9.2.1.
No branches or pull requests
Bug Report
https://github.com/tj/n/blob/v9.2.0/bin/n#L1561
Instead
local cache_root="${N_PREFIX}/n"
needslocal cache_root="${N_CACHE_PREFIX}/n"
Summary
Steps to Reproduce
N_CACHE_PREFIX=/blabla/any/path
N_PREFIX=/some/other/folder
mkdir -p $N_CACHE_PREFIX $N_PREFIX && n doctor
Expected Behaviour
doctor command run successful
Actual Behaviour
get error
Checking permissions for cache folder...
INFO Cache folder does not exist: /usr/local/n
Other Information
Configuration Details
The text was updated successfully, but these errors were encountered: