OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

Updating from remote repo shows a schema validation error #289

Closed smalers closed 2 years ago

smalers commented 4 years ago

This might be something to put in developer documentation in a troubleshooting section.

I did a pull of the latest InfoMapper into Poudre Basin Information. When I did ng serve --open I get:

sam (master) infomapper $ ng serve --open
Schema validation failed with the following errors:
  Data path "" should NOT have additional properties(allowedCommonJsDependencies).

Next I did npm install and was able to run it. Maybe developer documentation needs several lists of errors that can be fixed with common actions, such as doing npm install, restarting ng serve, etc.

Nightsphere commented 2 years ago

This is an old Angular version issue (about 5 major versions), which has been updated and fixed by Google. Closing the issue.