eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper
NPM Run Configuration: cannot execute some scripts from `package.json`
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 201
- フォーク
- 76
- 平均マージ
- 4日 7時間
- マージ済み PR(30日)
- 21
説明
I have a NPM run configuration pointing to an existing package.json (which is not in the root-directory of the project but within a subfolder):
However, executing the run configuration does not work:
npm error code ENOENT
npm error syscall open
npm error path /Users/ev/ide/app/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/ev/ide/app/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /Users/ev/.npm/_logs/2025-08-03T00_54_31_316Z-debug-0.log
The log says that package.json cannot be found in /Users/ev/ide/app/package.json, although it should look in /Users/ev/ide/app/src/main/webui/package.json as specified in the launch configuration. I also tried with absolute path (= /Users/ev/ide/app/src/main/webui/package.json) in the launch configuration - it shows the same error.
- On Mac OS
- Eclipse Version: 2025-03 (4.35.0)
- Wild Web Developer: 1.3.10.202502071606
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、報告されている Eclipse と Wild Web Developer のバージョンを使用して、src/main/webui の package.json による NPM 実行構成を再現します。設定された package.json のパスがどのように解決されるかを追跡し、実行時にプロジェクトルートではなくそのパスが使用されることを確認します。サブフォルダー構成からスクリプトが正常に実行されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, node.js
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100