Deployment getting failed for Migrated Fiori project
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
- 領域
- build-system, cli
調査の方向性
Start by reproducing the failure with the migrated Fiori project using the reported npm run deploy or npm run deploy-test commands. Inspect node_modules/@ui5/cli/node_modules/@ui5/builder/lib/processors/minifier.js at line 222 and the related minify task; done means the project can complete its deployment build without the reported JSON.parse error.
索引モデルが issue の本文から書いたものです。
説明
Expected Behavior
- I've downloaded a SAP UI5 project from S4 system using report "UI5 Repository Load"
- Imported the same into BAS account
- After importing with help of Fiori migration tool added required dependency to it
- Added deployment configs to it
- It's working fine in "Preview Mode"
- It should be deployed to S4 system using "npm run deploy" command
Current Behavior
- "npm run deploy" or "npm run deploy-test" is getting failed with below error
**Message:
Unexpected token 's', "sap.ui.def"... is not valid JSON
Stack Trace:
SyntaxError: Unexpected token 's', "sap.ui.def"... is not valid JSON
at JSON.parse ()
at file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/processors/minifier.js:222:33**
Steps to Reproduce the Issue
- I've downloaded a SAP UI5 project from S4 system using report "UI5 Repository Load"
- Imported the same into BAS account
- After importing with help of Fiori migration tool added required dependency to it
- Added deployment configs to it
- It's working fine in "Preview Mode"
- It should be deployed to S4 system using "npm run deploy" command
Context
- UI5 Module Version (output of
ui5 --versionwhen using the CLI):unknown - Node.js Version:
unknown - npm Version:
unknown - OS/Platform:
unknown - Browser (if relevant):
unknown - Other information regarding your environment (optional):
nothing
Log Output / Stack Trace
0 verbose cli /local/asdf-inst-inbox-runtime/installs/nodejs/22.13.1/bin/node /home/user/.asdf-inst/installs/nodejs/22.13.1/bin/npm
1 info using [email protected]
2 info using [email protected]
3 silly config load:file:/local/asdf-inst-inbox-runtime/installs/nodejs/22.13.1/lib/node_modules/npm/npmrc
4 silly config load:file:/home/user/.npmrc
5 silly config load:file:/home/user/.node_modules_global/etc/npmrc
6 verbose title npm root
7 verbose argv "root" "--global"
8 verbose logfile logs-max:10 dir:/home/user/.npm/_logs/2025-05-14T13_04_55_234Z-
9 verbose logfile /home/user/.npm/_logs/2025-05-14T13_04_55_234Z-debug-0.log
10 verbose cwd /
11 verbose os Linux 6.6.63-cloud-amd64
12 verbose node v22.13.1
13 verbose npm v10.9.2
14 verbose exit 0
15 info ok
Message:
Unexpected token 's', "sap.ui.def"... is not valid JSON
Stack Trace:
SyntaxError: Unexpected token 's', "sap.ui.def"... is not valid JSON
at JSON.parse ()
at file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/processors/minifier.js:222:33
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async Promise.all (index 34)
at async default (file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/node_modules/@ui5/builder/lib/tasks/minify.js:32:29)
at async TaskRunner._executeTask (file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/node_modules/@ui5/project/lib/build/TaskRunner.js:447:3)
at async TaskRunner.runTasks (file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/node_modules/@ui5/project/lib/build/TaskRunner.js:124:5)
at async ProjectBuilder.build (file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/node_modules/@ui5/project/lib/build/ProjectBuilder.js:251:6)
at async ProjectGraph.build (file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/node_modules/@ui5/project/lib/graph/ProjectGraph.js:576:3)
at async Object.handleBuild [as handler] (file:///home/user/projects/zewm_lc_ui5_nok/zewm_lc_ui5_nok/node_modules/@ui5/cli/lib/cli/commands/build.js:174:2)
- 主要言語
- JavaScript
- スター
- 510
- フォーク
- 80
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UI5/cli のほかの issue
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesオープンmodule/ui5-builder module/ui5-fs module/ui5-project
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
メンテナーはふだん 2 日以内に返信
-
module/ui5-project
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
メンテナーはふだん 2 日以内に返信
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0再び着手できるかも @flovogt が 116 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンroadmap
UI5/cli#1485 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
build excludes from application project are not applied to dependencies再び着手できるかも @flovogt が 90 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
UI5/cli#1446 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
help provided
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
bug confirmed issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
open-webui/open-webui#35507 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
beginner-friendly category:tests community enhancement first-timers-only good first issue help wanted low hanging fruit micro-contribution type: task up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
Berserk-hub150/skillhawk#300 · コメント 1 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Fei2411/DeepSeek-Bot#2896 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
area:ui P2 status:blocked
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sunososobro-hub/cloudball#1234 ·
メンテナーはふだん 1 日以内に返信