Skip to content

microtime fails on macOS & Windows #1175

Description

@MikeMcC399

Situation

Running citgm microtime fails on macOS & Windows for Node.js 22 - 26

Item Status
npm package https://www.npmjs.com/package/microtime
npm status not deprecated
last published 3.1.1 Aug 12, 2022
weekly downloads 285,880
repo location https://github.com/wadey/node-microtime
repo last update to default branch Sep 8, 2023
repo status unmaintained
repo CI status runs in Node.js 14 - 20
lookup - skip -
lookup maintainer 1 wadey

Repo CI https://github.com/wadey/node-microtime/blob/master/.github/workflows/test.yml runs in Node.js 14 - 20, on ubuntu, macos & windows.

Cloning the repo and running local tests using:

  • Windows 11 26H2
  • Visual Studio 2022 & 2026
  • Python 3.14

fails to install with:

ModuleNotFoundError: No module named 'distutils'
...
gyp ERR! node-gyp -v v9.4.1
gyp ERR! not ok

for Node.js 22, 24 & 26

Steps to reproduce

Run https://github.com/nodejs/citgm/actions/workflows/test-module.yml

Module to test: microtime
CITGM repository to checkout: nodejs/citgm
CITGM GitHub ref to checkout: main

Result

Fails in macOS and Windows:

Node.js npm macos ubuntu windows
22.23.3 10.9.9 FAIL PASS FAIL
24.21.0 11.19.0 FAIL PASS FAIL
26.10.0 11.19.1 FAIL PASS FAIL

References

citgm/lib/lookup.json

Lines 291 to 295 in 4d3d256

"microtime": {
"prefix": "v",
"tags": "native",
"maintainers": "wadey"
},

cc: @wadey

Activity

  1. MikeMcC399 commented on Oct 6, 2026

    @MikeMcC399
    ContributorAuthor

    Suggestion

    node-microtime is not compatible with current versions needed for rebuilding under Windows and was last released 4 years ago.

    Either skip testing as a temporary measure or remove it completely from citgm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions