-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
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
Tojyeuem
Metadata
Metadata
Assignees
Labels
No labels