In June 2018, on a stage in Berlin, the creator of Node.js stood in front of a room full of Node developers and walked through the mistakes he thought he had built into it.
Six years later, in October 2024, the runtime he built to fix those mistakes shipped a release whose headline feature was native support for two of them: package.json and node_modules.
That is the strange arc of Ryan Dahl, and it is more useful than the usual “genius builds thing, then builds better thing” version.
A runtime that refuses to wait
Dahl demoed Node.js at the first European JSConf in November 2009. Its core idea is still stated plainly in the official docs: Node is asynchronous and event-driven, and it never blocks except when you call a synchronous function from the standard library. Because nothing waits on I/O, there are no locks to hold, and so no deadlocks to debug.
For a server that mostly waits on networks and disks, that was a sharp design decision, and it caught on fast. Dahl himself stepped back early. Wikipedia records that he handed the project to npm’s creator, Isaac Schlueter, in January 2012, though other accounts date his withdrawal differently, so treat “around 2012” as the safe version.
The myth: he walked away angry
The retelling you may have heard says Dahl abandoned Node in disgust and burned it down in public. The record does not support that. There is a documented handover, and a profile of Dahl by Sequoia describes fatigue and a reluctance to be the face of the project. No source we found describes anger.
What he did publish, in September 2011, was a post titled “I hate almost all software.” Its argument is practical, not bitter: the complexity you tolerate should be proportional to the problem you are solving, and once a system’s accumulated complexity costs more than rebuilding it, systems get replaced. That sentence explains the next seven years better than any grudge does.
The talk: a list of regrets
The 2018 talk is titled “10 Things I Regret About Node.js.” We could not find an official transcript, so the details below come from published notes on the talk, and the exact count of items is not confirmed. Three of the regrets are worth remembering.
- Promises. According to those notes, Node had promises in mid-2009 and dropped them in early 2010. Dahl’s point was that keeping a single async abstraction might have helped async/await arrive sooner, while many older Node APIs now age awkwardly.
- Security. V8 is a capable sandbox, yet Node gives programs broad access to the machine and the network. The example in the notes is a linter, a tool that should not need your whole computer.
node_modulesandpackage.json. Bundling npm madepackage.jsonthe de facto standard, and the dependency folder departed from how browsers resolve modules. The notes report him taking personal responsibility fornode_modulesand apologizing for it.
The last ten minutes or so of the talk introduced a prototype for a replacement. It was called Deno.
What Deno actually changed
Deno 1.0 shipped on 13 May 2020. Dahl’s regrets turned into design rules. Programs are sandboxed by default, so network access requires an explicit flag such as --allow-net. TypeScript is built in. The runtime is written in Rust, and the first prototype, we are told, was in Go.
A company followed. Deno Land Inc. was announced in March 2021, and Sequoia led a $21M Series A a year later, per Sequoia’s own profile.
The complication nobody expected
Then came the twist. On 9 October 2024, Deno 2.0 launched. Its announcement describes the runtime as backwards compatible with Node and npm, with native support for package.json and node_modules, and with npm: imports that skip both.
So “Deno replaces Node” is also a myth. Deno 2 can run existing Node and npm projects. The thing Dahl apologized for in 2018 had become the road that millions of developers were already traveling, and a new runtime had to meet them on it.
A mental model worth keeping
Dahl’s real lesson is not that he was wrong in 2009. It is that a default, once many people depend on it, stops being a design choice and becomes infrastructure. A better idea can be correct and still lose to the one that already has the packages.
That produces a question you can ask of your own code this week: which of your early decisions are no longer choices, and what would it cost to ship a better one next to them instead of in place of them?
Related stories
Sources
- Node.js, “About Node.js”
- Ryan Dahl, “I hate almost all software” (29 September 2011)
- “10 Things I Regret About Node.js,” Ryan Dahl, JSConf EU 2018 (video)
- Notes on “10 Things I Regret About Node.js” (dev.to; secondary summary of the talk)
- Deno, “Announcing Deno 1.0” (13 May 2020)
- Deno, “Announcing Deno 2.0” (9 October 2024)
- Sequoia Capital, Deno profile
- “Node.js,” Wikipedia
- Featured image: Ryan Dahl at YUIConf 2010 (not from the 2018 talk), cropped. David Calhoun, via Wikimedia Commons, CC BY 2.0

Leave a Reply