Faster Nodejs applications deployment with Clever Cloud NPM mirror

Version française en-dessous

npm logo

Npmjs.org, the Nodejs dependencies repository has recently experienced outages which have blocked every Nodejs application deployment on every server in the world which use this repository including Clever Cloud ones.

Actually, when an application is launched locally or on a PaaS like ours, the application has to download all its dependencies. If the repository server is down, the application cannot download the dependencies and the deployment fails.

In order to provide a better deployment experience, we have built our own dependencies mirror so that we do not need to use npmjs.org servers anymore when deploying applications.
Deployments are now always successful even if npmjs.org is down. Moreover, instead of downloading dependencies from the US, they are downloaded locally so applications deployments are twice faster.

A very good reason to deploy a Nodejs application on Clever Cloud!

The Clever Cloud team


Version française

Npmjs.org, le dépôt officiel de dépendances Nodejs a récemment subi des interruptions qui ont bloquées les déploiements sur tous les serveurs du monde qui utilisaient ce dépôt officiel, y compris ceux de Clever Cloud.

En effet, lorsqu’une application est lancée localement ou bien sur un PaaS comme le notre, l’application doit télécharger ses dépendances sur des serveurs distants. Si le serveur contenant les dépôts de ces dépendances n’est pas disponible, l’application ne peut pas les récupérer et le déploiement échoue.

Dans le but d’améliorer le déploiement des applications Nodejs, nous avons créé notre propre mirroir de dépendances afin de ne plus avoir à utiliser de nouveau les serveurs npmjs.org lors de nos déploiements. Ces derniers ne sont donc plus tributaires des interruptions de npmjs.org. De plus, puisque les dépôts sont téléchargés de nos serveurs et non plus des Etats-Unis, les déploiements sont deux fois plus rapides.

Une bonne occasion donc de déployer dès à présent votre application Nodejs sur Clever Cloud !

L’équipe Clever Cloud

Blog

À lire également

Why we (finally) built our own managed Kubernetes

At Clever Cloud, we held off for a long time before offering a managed Kubernetes service. Not out of technological reluctance, Kubernetes is a great tool… but it was never designed to make developers’ lives easier.
Company Engineering

What is cloud migration?

Cloud migration represents a strategic step for organisations looking to transform their digital infrastructure.
Engineering

Clever Cloud at VivaTech 2025: demonstration of Clever AI, new partnerships and support for startups

At VivaTech 2025, Clever Cloud is highlighting a number of strategic announcements and innovations in line with its vision of a sovereign, open and resilient cloud. The team will be present in various pavilions, unveiling Clever AI for the first time, presenting a partnership with Grist, an open source data platform, signing a partnership for development in North Africa and stepping up its support for the startup ecosystem.
Company