missioncommand / emp3-web

Extensible Map Platform (EMP) web development kit
Other
19 stars 9 forks source link

Fixing build and serving #356

Closed JACochran closed 6 years ago

JACochran commented 6 years ago

-fixes the error on grunt call ERROR in ./~/xmlhttprequest/lib/XMLHttpRequest.js Module not found: Error: Cannot resolve module 'child_process' in /code/node_modules/xmlhttprequest/lib @ ./~/xmlhttprequest/lib/XMLHttpRequest.js 15:12-36

ERROR in ./~/xmlhttprequest/lib/XMLHttpRequest.js
Module not found: Error: Cannot resolve module 'fs' in /code/node_modules/xmlhttprequest/lib
 @ ./~/xmlhttprequest/lib/XMLHttpRequest.js 16:9-22

-fixes the ability to run grunt serve from a docker container by adding "host: "0.0.0.0" to webpack-dev-server