Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Makefile stops with NPM: Unknown cli flag: --deps

オープン 初心者向け
#2,350 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
javascript, node.js
領域
build-system

調査の方向性

make が実行する Makefile のターゲットから始め、npm install --deps コマンドを見つけてください。プロジェクトの npm バージョンでサポートされているインストールオプションを確認し、依存関係のインストールが完了するようにコマンドを更新してください。make が依存関係のインストールを通過し、アプリのビルドを続行すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

0. Needs triage bug
How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Pull this app from GitHub ( I am using Branch Stable35)
  2. Run make

NPM Version: 12.2.1

Expected behaviour

It should pull the dependencies using NPM and then build the app

Actual behaviour

It fails with the following error:

npm install --deps
npm error code EUNKNOWNCONFIG
npm error Unknown cli flag:
npm error   - --deps
npm error Run `npm help config` for supported options.
Server configuration

Not relevant because it's a build-time issue.

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Browser

Browser name: Firefox/Chrome/Safari/…

Browser version: 124/125/…

Operating system: Windows/Ubuntu/Mac/…

NPM Log
0 verbose cli /usr/bin/node /usr/bin/npm
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:/usr/lib/node_modules/npm/npmrc
4 silly config load:file:/home/laurenz/Checkouts/docker-nextcloud-dev/apps2/logreader/.npmrc
5 silly config load:file:/home/laurenz/.npmrc
6 silly config load:file:/etc/npmrc
7 verbose title npm install
8 verbose argv "install" "--deps"
9 verbose logfile logs-max:10 dir:/home/laurenz/.npm/_logs/2026-10-24T11_06_13_018Z-
10 verbose logfile /home/laurenz/.npm/_logs/2026-10-24T11_06_13_018Z-debug-0.log
11 silly logfile start cleaning logs, removing 2 files
12 silly logfile done cleaning log files
13 verbose stack Error: Unknown cli flag:
13 verbose stack   - --deps
13 verbose stack Run `npm help config` for supported options.
13 verbose stack     at Install.validateCli (/usr/lib/node_modules/npm/lib/base-cmd.js:427:29)
13 verbose stack     at Npm.execCommandClass (/usr/lib/node_modules/npm/lib/npm.js:309:25)
13 verbose stack     at async Npm.exec (/usr/lib/node_modules/npm/lib/npm.js:194:9)
13 verbose stack     at async module.exports (/usr/lib/node_modules/npm/lib/cli/entry.js:67:5)
14 error code EUNKNOWNCONFIG
15 error Unknown cli flag:
15 error   - --deps
15 error Run `npm help config` for supported options.
16 verbose cwd /home/laurenz/Checkouts/docker-nextcloud-dev/apps2/logreader
17 verbose os Linux 7.2.11-3-MANJARO
18 verbose node v24.22.0
19 verbose npm  v12.2.1
20 verbose exit 1
21 verbose code 1
22 error A complete log of this run can be found in: /home/laurenz/.npm/_logs/2026-10-24T11_06_13_018Z-debug-0.log
主要言語
JavaScript
スター
71
フォーク
30
平均マージ
11時間
マージ済み PR(30日)
87

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

nextcloud/logreader のほかの issue

nextcloud/logreader の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。