-
Notifications
You must be signed in to change notification settings - Fork 3.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
Incorrest version of node getting installed for setup_6.x #673
Comments
What distribution is being used for the Docker image here? |
Distribution : Ubuntu |
You’re probably installing Node.js v8 from the official Ubuntu repositories, see #657. You can run |
we had several issues from "ioBroker" (nodejs based smart home software) on mainy raspberry and such since last friday/saturday. Users used the nodesource 6.x install commands and ended up in having node 8 and NO npm!! Is there anything more known to this? |
Again, as @sonicdoe notes above, please run
and see if our repository is the one you're getting the package from. If there is still confusion about what's happening, please re-open this issue and post the full output of running the installer script as well as |
Ok, the following happens: When node 6 is installed or should be installed but the os updated the node version in their repo (Ubuntu 18.04 and it seems also raspbian after a apt-get Update/Upgrade) then the Version in the repo is 8.x and then this is used over nodesource repo. Should an install from your repo not pin the major Version to prevent that? Seems that this was never needed because original repos were always veeeery old ... but now it changed |
The default for |
completely understandable :-) thank you for clarification |
I can understand not wanting to pin NodeSource’s repository on the user’s machine, however, the current approach might only become more confusing as time goes on and distributions ship newer Node.js versions. This is complicated by the fact that Ubuntu’s |
I was trying to install node version 6.x inside docker using below commands -
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get install -y nodejs
I had also added below line to verify node version and showed me v8.10.0
RUN echo "Node Version $(node --version)"
Where exactly I am getting wrong? or is this an issue?
The text was updated successfully, but these errors were encountered: