Skip to content

Dev: build fails with npm 12.0. #1356

Description

@quunnb
  • I am on the latest ActivityWatch version. Master branch

  • I have searched the issues of this repo and believe that this is not a duplicate.

  • OS name and version: Linux 7.1.3

  • ActivityWatch version: Master bfc309d

Describe the bug

Build fails with new npm 12.

To Reproduce

Install npm 12.0. Build aw from source.

Expected behavior

Build succeeds / docs mention the version limit.

Documentation

npm error code EALLOWGIT
npm error Fetching packages of type "git" have been disabled
npm error Refusing to fetch "vue-d3-sunburst@git+ssh://git@github.com/ErikBjare/Vue.D3.sunburst.git#1fe0f3e00e04109c548f8bac6e6333b735955668"
npm error A complete log of this run can be found in: /home/user/.npm/_logs/2026-07-11T03_00_31_069Z-debug-0.log
make[2]: *** [Makefile:33: node_modules/] Error 1
make[2]: Leaving directory '/home/user/activitywatch/aw-server/aw-webui'
make[1]: *** [Makefile:9: aw-webui] Error 2
make[1]: Leaving directory '/home/user/activitywatch/aw-server'
Error in aw-server build
make: *** [Makefile:70: build] Error 2

Additional context

Keep up the good work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions