Installation Scripts deprecated or not? #1639
-
In the Readme it says that the installation scripts are no longer supported but they are still downloadable for all versions What am I missing here? Are they still valid? If not, why are they available to download? Can installing from them cause an issue? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 26 replies
-
Also the migration process is not very clear... Waiting for clarifications. Why are they being deprecated? Why not just update them? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, We understand that changes can sometimes be frustrating for some users, which is why we've created this space to discuss these changes and provide clarity. About Script AvailabilityIn our README, we've mentioned:
It's essential to clarify that "no longer supported" doesn't mean the scripts are "unavailable" or "not accessible." Instead, these scripts are now deprecated from our end, and we won't provide support for them. Additionally, users who continue to install Node.js using these scripts won't receive the latest Node.js versions. As mentioned by @collimarco, one approach would be to refactor the scripts to use the new repository. However, let me explain why we believe documenting the installation process is a better choice for everyone:
We believe that documenting the installation process provides transparency and empowers our users to make informed decisions. If you have any questions or suggestions, please feel free to share them. Thank you for your understanding and collaboration. |
Beta Was this translation helpful? Give feedback.
-
Pessoal, estou pasando por problemas em meus scripts devido a essa atualização. ÉSTA ERA A MANEIRA QUE EU ESTAVA INSTALANDO O NODE `curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - sudo apt-get install -y nodejs npm install -g npm@latest npm install -g pm2@latest` Não estou conseguindo instalar e nem executar o node e npm alguem tem um exemplo aí pra me salvar?? |
Beta Was this translation helpful? Give feedback.
-
Hi maintainers, We used this script in our CICD pipelines to add node during the build process. We always knew this may be not the best solution, since it use a lot of resources. However, you created a real pain point with the one minute delay showing the deprecated message, slowing down the process. Since I never had any issues with the scripts I'm quite surprised about your motivations removing the script in the future. As my example shows, our pipelines relay on the script and I'm not alone with this use case. We decided to build our own build image including the node installation like this: FROM mcr.microsoft.com/dotnet/sdk:6.0
# Install node
ENV NODE_MAJOR 18
RUN apt-get update && apt-get install -y \
ca-certificates \
curl \
gnupg \
&& mkdir -p /etc/apt/keyrings \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& apt update && apt install -y nodejs
I hope this solution will help others! Regards, |
Beta Was this translation helpful? Give feedback.
-
Can I install node js 14 this way? |
Beta Was this translation helpful? Give feedback.
-
If an 8 line command install as enduser is considered "straightforward" compared to a 2 line install, I don't know what to say.... |
Beta Was this translation helpful? Give feedback.
-
If the gpg key is there why is this happening again and again. Following are some of the errors I was facing previously. I resolved some of them but still stuck on the one mentioned above. curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg There is also this error I am facing which says its not able to verify some public key: |
Beta Was this translation helpful? Give feedback.
-
I understand that the previous script was deprecated, but I think a minute's delay should be deleted after posting a warning. The reasons are as follows:
The warning log alone is sufficient to make the library fall into the deprecated state. I think deprecation, where security vulnerabilities are not the reason, should not interfere with the build pipeline. After I finished writing and read it again, I think it was written a little aggressively, so I apologize. I understand the purpose of the change in installation, and I don't think it's wrong. I'm just saying that I'm wondering if there's a need to break the old way that's working well. |
Beta Was this translation helpful? Give feedback.
-
What is new way to install the latest node.js without determining NODE_MAJOR? I used setup_current.x before and don't want to care which version is latest. |
Beta Was this translation helpful? Give feedback.
-
I had the below script on my docker file for installing nodejs
I noticed that it's not working, after lot sof search and reading comments I noticed I can fix it by below code
|
Beta Was this translation helpful? Give feedback.
-
Is this way no longer working? We have it on our road map to move to the "new" way of doing this, but no timeline was given when "installation scripts" would stop working. Today I am seeing https://deb.nodesource.com/node_18.x bullseye/main amd64 nodejs amd64 18.17.1-deb-1nodesource1 is coming back with a 404. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
Hi everyone,
We understand that changes can sometimes be frustrating for some users, which is why we've created this space to discuss these changes and provide clarity.
About Script Availability
In our README, we've mentioned:
It's essential to clarify that "no longer supported" doesn't mean the scripts are "unavailable" or "not accessible." Instead, these scripts are now deprecated from our end, and we won't provide support for them. Additionally, users who continue to install Node.js using these scripts…