What happened to developers when Stylus got removed from npm registry

I’m curious about what other developers experienced when Stylus suddenly disappeared from the npm package registry. This caused a lot of build failures and broken deployments for many projects that depended on it.

Did anyone else face similar issues with their projects? How did you handle the situation when your builds started failing because of missing Stylus dependencies? I’m trying to understand the impact this had on the development community.

What alternatives did people switch to after this incident? Were you able to find suitable replacements, or did you have to completely restructure your styling approach?

I’m also wondering if there were any lessons learned from this experience that could help prevent similar situations in the future.

We faced significant challenges when Stylus was removed from the npm registry, as it was integral to three of our production applications. The sudden disappearance caused our CI/CD pipeline to fail repeatedly, and deciphering the error messages was a tedious process. To resolve the issue, we transitioned two projects to Sass, which was manageable given its similar syntax, though it necessitated considerable rewriting of custom mixins. The third project moved to PostCSS, which, while requiring more initial configuration, has proven to be more adaptable for our future needs. This incident prompted us to reevaluate our dependency management strategies; we now maintain local mirrors of essential packages and conduct automated checks ahead of deployments, ensuring the packages we rely on are actively maintained. Though it increases our workload, it’s a preventive measure to avoid similar crises.

this was a huge wake-up call for us. we got lucky - only had stylus on one small project, but watching everyone panic was terrifying. switched to regular css modules and it actually made everything simpler. now we stick to packages with either corporate backing or massive community support. maybe too cautious, but i’d rather be safe than sorry.

The Stylus removal hit us right during a critical release - worst possible timing. Our biggest problem wasn’t just the build failures, but we’d heavily customized our Stylus configs and couldn’t easily port them to other preprocessors. We ended up forking an archived Stylus version from GitHub and hosting it internally while figuring out our next move. This bought us time to properly evaluate alternatives instead of rushing into something. Eventually we migrated to vanilla CSS with custom properties, which killed our preprocessor dependencies completely. Lesson learned: I’m way more careful now about adopting packages without strong governance or multiple maintainers. I always check maintenance status and contributor activity before adding new dependencies to production projects.