Esri / esri-wab-build

Package used to build ESRI Web App Builder Apps for production.
Apache License 2.0
17 stars 5 forks source link

Missing or empty package.json and ENOENT errors #76

Closed TConfare closed 4 years ago

TConfare commented 4 years ago

I am encountering errors in the 'npm run build' process. In the beginning I am getting several "Missing or empty package.json" error messages for different directories in the ../build=src folder. More specifically dgauges, moment, widgets, themes directories. I didn't think we needed to create a package.json for each directory other than the app directory.

Also, I am getting a ENOENT or "No such file or directory" error at the bottom. I'm not sure if these are related. I attached a couple screenshots including the log file. Any ideas? I am up to date on all versions

Capture2 Capture Capture1

TConfare commented 4 years ago

Here's an update: Apparently I didn't have the right version of Java installed. Once I did that and did a global install then it worked.