Do not Install Karma Globally
Wow, I spent so long trying to figure out why the hell karma was not working for me, it turns out its because it was installed globally. For instance. In my projects package.json I had:
"scripts": { "test": "karma start karma.conf.js" } ...
npm test - it told me sh 1: karma not found Every other possible combination also did the same thing. i.e.node_modules/karma/bin/karma./node_modules/karma/bin/karma
node ./node_modules/karma/bin/karma
Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.
Check out some more stuff to read down below.
Most popular posts this month
- One Year of Foxglove
- SQLite DB Migrations with PRAGMA user_version
- Lev Lazinskiy
- Microblog
- Vagrant Box for ROS2 on Apple Silicon
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- The contagion of fear from The Observation Deck
- The revolt of the reader from The Observation Deck
- Deeper dive: Were Touch Bar’s problems software rather than hardware? from Unsung
- Joining Cursor from Fatih Arslan
- Pluralistic: Digital sewer socialism (08 Aug 2026) from Pluralistic: Daily links from Cory Doctorow
- Pluralistic: Enshittification and Reverse Centaurs go global (29 Jul 2026) from Pluralistic: Daily links from Cory Doctorow
- AI Mania Is Eviscerating Global Decision-Making from Ludicity
- The default person from https://popagandhi.com/
Articles from blogs I follow around the net
“But, as we all know, the individual light bulbs are not moving.”
I linked to palette cycling before, and I was just reminded of palette cycling art by Mark Ferrari, who back in the 1990s made 30+ landscapes that looked like this: They have been collected on this webpage some 15 years ago, and I’m linking to it in part b...
via Unsung September 15, 2026Humanity’s Flight 93 Moment
It’s time to ban smart machines making smarter machines
via The Intrinsic Perspective September 15, 2026Pluralistic: Everybody pees (15 Sep 2026)
Today's links Everybody pees: Even Jeff Bezos. Hey look at this: Delights to delectate. Object permanence: Zune won't play Microsoft files; Papercraft 1:1 Mustang; Third gender for Aussie passports; France hacked Canada; EC v links; Welcome to Night Vale;...
via Pluralistic: Daily links from Cory Doctorow September 15, 2026Generated by openring