Makefile stops with NPM: Unknown cli flag: --deps
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 66/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript, node.js
- 领域
- build-system
调研方向
从 make 运行的 Makefile target 入手,找到 npm install --deps 命令。检查项目所用 npm 版本支持的安装选项,并更新该命令,使依赖项安装顺利完成。当 make 越过依赖项安装并继续构建应用时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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
- Pull this app from GitHub ( I am using Branch Stable35)
- 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 小时
- 30 天内合并 PR
- 87
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/logreader 的其他 Issue
-
[Bug]: Vertical monitor prevents loading protocol viewer可能已有人在做 @Antreesy 于 3 天前认领。 未关闭0. Needs triage bug
难度 2/5 1-3 小时 新手友好度 35/100
维护者通常 1 天内回复
-
Display Filtering is very slow and results in extreme CPU usage spikes on server可能已有人在做 @Antreesy 于 139 天前认领。 未关闭0. Needs triage bug
难度 4/5 3-5 天 新手友好度 48/100
nextcloud/logreader#2045 · 5 条评论 ·
维护者通常 1 天内回复
-
0. Needs triage bug
难度 3/5 1-2 天 新手友好度 35/100
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 25/100
维护者通常 1 天内回复
-
0. Needs triage bug
难度 3/5 1-2 天 新手友好度 42/100
维护者通常 1 天内回复
查看 nextcloud/logreader 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 1 天内回复
-
Add: Story4 CZ未关闭check:passed logos:add
难度 1/5 1 小时以内 新手友好度 70/100
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
adobe/helix-shared#1310 ·
维护者通常 1 天内回复
-
[workshop-sim] Improve: Strengthen practice and checkpoints in Step 05 (What Are Agentic Workflows?)未关闭feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 85/100
githubnext/gh-aw-workshop#4972 ·
维护者通常 1 天内回复
-
agent/ci-maintainer ci good first issue help wanted stage/010-actionable
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复