marklogic-community / slush-marklogic-node

Slush generator for a MarkLogic/node project
https://github.com/marklogic-community/slush-marklogic-node/wiki
Other
40 stars 28 forks source link

gulp init broken with latest Roxy #523

Open grtjn opened 6 years ago

grtjn commented 6 years ago

Roxy prints warnings about not being able to connect to MarkLogic, which is obvious if you are about to configure that. The warnings cause the json parse to fail though, and gulp init-local/prod silently terminate.

Adding this line just before the JSON.parse helps:

      output = output.replace(/^WARN.*$/gm, '');