Package: npm
Version: 11.12.1~ds1-3
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

        Ordinarily, running `npm init` with no arguments in a bare
directory will issue a series of prompts for basic information to
compose an initial `package.json` file.

        Instead, I'm getting this:

```
$ npm --ddd init
npm verbose cli /usr/bin/node /usr/bin/npm
npm info using [email protected]
npm info using [email protected]
npm silly config load:file:/usr/share/nodejs/npm/npmrc
npm silly config load:file:/home/ewhac/hackery/FOO/.npmrc
npm silly config load:file:/home/ewhac/.npmrc
npm silly config load:file:/etc/npmrc
npm verbose title npm init
npm verbose argv "--loglevel" "silly" "init"
npm verbose logfile logs-max:10 
dir:/home/ewhac/.npm/_logs/2026-04-12T03_11_35_522Z-
npm verbose logfile /home/ewhac/.npm/_logs/2026-04-12T03_11_35_522Z-debug-0.log
npm silly logfile start cleaning logs, removing 1 files
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.

See `npm help init` for definitive documentation on these fields and exactly 
what they do.

Use `npm install <pkg>` afterwards to install a package and save it as a 
dependency in the package.json file.

Press ^C at any time to quit.

npm verbose cwd /home/ewhac/hackery/FOO
npm verbose os Linux 6.19.11+deb14-amd64
npm verbose node v22.22.2
npm verbose npm  v11.12.1
npm verbose exit 1
npm verbose code 1
npm error A complete log of this run can be found in: 
/home/ewhac/.npm/_logs/2026-04-12T03_11_35_522Z-debug-0.log
```

        The log file named above contains essentially identical
information.  The issue persists even after completely deleting
`$HOME/.npm`.

        A major side-effect of this issue is that it is preventing the
Mason plugin for Neovim from installing additional NodeJS-based addons.

                                        Schwab


-- System Information:
Debian Release: forky/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.19.11+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages npm depends on:
ii  ca-certificates                              20260223
ii  node-abbrev                                  1.1.1+~1.1.2-1
ii  node-agent-base                              7.1.4~0~2025070717+~cs15.2.7-1
ii  node-aproba                                  2.1.0-1
ii  node-archy                                   1.0.0-8
ii  node-base64-js                               1.5.1+dfsg+~1.3.0-3
ii  node-binary-extensions                       2.2.0-2
ii  node-buffer                                  6.0.3-3
ii  node-cacache                                 20.0.4+~cs10.1.7-2
ii  node-chalk                                   5.6.2+dfsg-5
ii  node-chownr                                  3.0.0-2
ii  node-ci-info                                 4.4.0+~cs8.2.0-3
ii  node-cli-table [node-cli-table3]             0.3.11+~cs0.13.4-3
ii  node-cliui [node-jackspeak]                  7.0.4+repack+1+~cs1.4.2-2
ii  node-columnify                               1.6.0+~1.5.4-1
ii  node-css-loader [node-postcss-selector-pars  6.8.1+~cs14.0.17-2
    er]
ii  node-css-selector-tokenizer [node-cssesc]    0.8.0+~cs4.8.3-1
ii  node-debug                                   4.4.3+~4.1.13-1
ii  node-deep-equal [node-hasown]                2.2.3+~cs43.15.94-1
ii  node-diff                                    5.2.2~dfsg+~5.2.3-2
ii  node-encoding                                0.1.13-2
ii  node-env-paths                               3.0.0-2
ii  node-events                                  3.3.0+~3.0.3-1
ii  node-foreground-child                        4.0.3-1
ii  node-glob                                    10.3.6+~cs0.4.15-8
ii  node-got                                     11.8.5+~cs58.13.36-6
ii  node-graceful-fs                             4.2.11-1
ii  node-gyp                                     12.1.0+~6.1.0-3
ii  node-hosted-git-info                         9.0.2-1
ii  node-http-proxy-agent                        7.0.2~0~2025070717+~cs15.2.7-1
ii  node-https-proxy-agent                       7.0.6~0~2025070717+~cs15.2.7-1
ii  node-ieee754                                 1.2.1-3
ii  node-ini                                     3.0.1-2
ii  node-ip-regex                                4.3.0+~4.1.1-1
ii  node-json-parse-better-errors                1.0.2+~cs3.3.1-3
ii  node-jsonparse                               1.3.1-10
ii  node-lru-cache                               11.2.7-4
ii  node-minimatch                               9.0.7-1
ii  node-minipass                                5.0.0+~cs13.3.24-1
ii  node-mkdirp                                  2.1.6+~cs5.2.1-5
ii  node-ms                                      2.1.3+~cs0.7.31-3
ii  node-negotiator                              0.6.3+~0.6.1-1
ii  node-nopt                                    9.0.0-1
ii  node-normalize-package-data                  8.0.0+~2.4.4-3
ii  node-npm-bundled                             2.0.1-2
ii  node-npm-package-arg                         13.0.2+~6.1.0-3
ii  node-npm-run-path [node-path-key]            5.1.0+~4.0.0-9
ii  node-npmlog                                  7.0.1+~4.1.4-1
ii  node-p-map                                   4.0.0+~3.1.0+~3.0.1-2
ii  node-process                                 0.11.10-3
ii  node-promise-retry                           2.0.1-4
ii  node-promzard                                0.3.0-2
ii  node-read                                    1.0.7-5
ii  node-read-package-json [node-npm-normalize-  5.0.2+~2.0.0-5
    package-bin]
ii  node-semver                                  7.7.4+~7.7.1-1
ii  node-shebang-command                         2.0.0-1
ii  node-shebang-regex                           3.0.0-2
ii  node-socks                                   2.8.6-1
ii  node-ssri                                    9.0.1-3
ii  node-string-width [node-emoji-regex]         4.2.3+~cs13.2.3-1
ii  node-strip-ansi                              7.2.0-1
ii  node-tar                                     6.2.1+ds1+~cs6.1.13-10
ii  node-text-table                              0.2.0-5
ii  node-validate-npm-package-license            3.0.4-3
ii  node-validate-npm-package-name               5.0.0+~4.0.0-1
ii  node-which                                   2.0.2+~cs1.3.2-5
ii  node-wrap-ansi                               8.0.1+~8.0.1-3
ii  node-write-file-atomic                       7.0.1+~4.0.3-1
ii  node-yallist                                 4.0.0+~4.0.1-2
ii  nodejs                                       22.22.2+dfsg+~cs22.19.15-1+b1

Versions of packages npm recommends:
ii  git       1:2.53.0-1
ii  node-tap  16.3.7+ds3+~cs49.5.20-6

npm suggests no packages.

-- no debconf information

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to