Package Details: nodejs-git-split-diffs 1.1.0-1

Git Clone URL: https://aur.archlinux.org/nodejs-git-split-diffs.git (read-only, click to copy)
Package Base: nodejs-git-split-diffs
Description: GitHub style split diffs with syntax highlighting in your terminal.
Upstream URL: https://github.com/banga/git-split-diffs
Licenses: MIT
Provides: git-split-diffs
Submitter: ouuan
Maintainer: ouuan
Last Packager: ouuan
Votes: 3
Popularity: 0.000000
First Submitted: 2021-05-02 09:35 (UTC)
Last Updated: 2024-01-05 04:02 (UTC)

Latest Comments

xuiqzy commented on 2023-10-23 13:53 (UTC)

Resolved by installing a newer version of nodejs, I had nodejs-lts-fermium (nodejs 14.21.3) installed from the AUR, which satisfies the dependency and which was even specifically required before I think. Should probably require a newer version than 14 now.

xuiqzy commented on 2023-10-23 13:42 (UTC)

Error when building:

==> Starting package()...
ERROR: npm v10.2.1 is known not to run on Node.js v14.21.3.  This version of npm supports the following node versions: `^18.17.0 || >=20.5.0`. You can find the latest version at https://nodejs.org/.

ERROR:
/usr/lib/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js:105
    options.lookup ??= this.#options.lookup
                   ^^^

SyntaxError: Unexpected token '??='
    at wrapSafe (internal/modules/cjs/loader.js:1029:16)
    at Module._compile (internal/modules/cjs/loader.js:1078:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/agent/lib/index.js:7:15)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
==> ERROR: A failure occurred in package().
    Aborting...

xuiqzy commented on 2021-05-05 14:44 (UTC)

Part of output when buildung:

  -> Compressing package...
: Can't translate pathname 'usr/lib/node_modules/git-split-diffs/node_modules/shiki/languages/文言.tmLanguage.json' to UTF-8==> Leaving fakeroot environment.

Is this a problem (in the sources)?