-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
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
Warning from find
command when use nvm run
with .nvmrc
#871
Comments
Thanks for the report! I'll look into it. |
+1 |
@mjhasbach can you also provide your |
|
@dr15x86 @mjhasbach would you each mind updating to the latest |
I get latest version
My system:
nvm debug:
bash --version:
find --version
|
Thanks! I'll keep taking a look at this. |
I get a similar error with
The offending line is https://github.com/creationix/nvm/blob/master/nvm.sh#L817
|
@dr15x86 Could you file a separate issue for the part about the filename starting with numbers? |
@ljharb Ok. Tomorrow I recheck bug with numbers and create new issue. |
If current directory have
.nvmrc
and you callnvm run <full_path_to_script>
, nvm write to sdout:find: warning: Unix filenames usually don't contain slashes (though pathnames do).......
How check:
It print to stderr
If you call relative path
nvm run hi.js
all good.but if script name start with digits (
nvm run 123.js
), nvm writeN/A: version "v123.js" is not yet installed
and exit.May be add for
nvm use
andnvm run
argument--
for separate node version and user command? Or special argument--use-node-version-from-nvmrc
and not use heuristics for detect node version?nvm debug:
Distributive: Debian GNU/Linux 8.2 (jessie)
find --version: find (GNU findutils) 4.4.2
bash --version:
GNU bash, version 4.3.30(1)-release (x86_64-pc-linux-gnu)
The text was updated successfully, but these errors were encountered: