-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
hubot package installs with .node-version
breaking nodenv
#977
Comments
I don't see it in git:
I generated a new bot and checked it's using 2.13.1. I did the release over the weekend, and I don't have that file locally, so I'm not sure where it's coming from. Can you demonstrate how this is breaking nodenv? I use it myself, and have not seen a problem, since it'd be inside a projects's |
I'm terribly confused where it's coming from:
(modified time of Nov 21, 2014? weird) I verified it's in the actual package from npm: http://registry.npmjs.org/hubot/-/hubot-2.13.1.tgz It breaks on my nodenv because the contents of the node-version aren't a valid version name (
|
Did you generate a hubot with |
Also, turns out there are multiple nodenvs: https://github.com/wfarr/nodenv |
That is where I'm running
Yep. I use @OiNutter's nodenv which is a direct port of rbenv with virtually no modifications. (I'm one of the maintainers) |
If you have a |
So we need to add |
Yup, that would be a solution. |
@jasonkarns, can you prep a PR and I'll merge and cut a release tomorrow? |
We could also git ignore .node-version. Probably worth adding sanity check On Thursday, June 11, 2015, Jason Karns [email protected] wrote:
|
#980 does add .node-version to gitignore. If we were to create an .npmignore, then npm would no longer use .gitignore, and we would have to duplicate ignore entries to both files. |
@jasonkarns missed the PR for my last comment, thanks! |
Fixed in #980 and the next release shouldn't have the same problem. |
The npm package is published with a
.node-version
file. I can't seem to find when, how or where this file is generated, but I humbly submit that it should not be included in the package (nor the git repo).As has been discussed in the ruby community numerous times, the .node-version file should not be shared as it requires an overly strict version specifier.
Does anyone know where this file is coming from before I go further in advocating for its removal?
The text was updated successfully, but these errors were encountered: