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
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
Pluralistic: Lisa Hanawalt's "I Can't Stop Thinking About Horses and Sex" (20 Nov 2026)
Today's links Lisa Hanawalt's "I Can't Stop Thinking About Horses and Sex": A memoir of heartbreak, horses, horniness and IBS. Hey look at this: Delights to delectate. Object permanence: They Fight Crime; Cantenna wifi TV for Mali; Kakistocracy; Inflation...
via Pluralistic: Daily links from Cory Doctorow November 20, 2026fooyin
I haven't been this excited about music player software since mpd.
via elusive wordsmith November 20, 2026The Botanical Garden after dark
The original pictures were taken with a OnePlus 15 phone, which is not exactly a camera flagship that behaves well in the dark. Because it was dark and the lights were soft. There’s something surreal about the Grădina Botanică in Bucharest after dark, espe...
via Personal Site of Andrei N. Ciobanu November 20, 2026Generated by openring