<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace">Hi,<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">This issue seems to be caused by TSLint 3.4.0 which introduced a feature to throw an error in case there are nonexistent rules defined in the tslint.json file. In these cases, it's "license-header" in Hawkular and BTM, and "no-trailing-comma" in BTM only.<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Not sure if we have some custom "license-header" rule, Mike ? For the "no-trailing-comma", it should be replaced by what's used in hawkular:<br><br>"trailing-comma": [false, {"multiline": "always", "singleline": "never"}],<br><br></div><div class="gmail_default" style="font-family:monospace,monospace">Regards,<br></div><div class="gmail_default" style="font-family:monospace,monospace">Alexandre<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 9:59 AM, Gary Brown <span dir="ltr"><<a href="mailto:gbrown@redhat.com" target="_blank">gbrown@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I'm getting a similar error:<br>
<br>
[ERROR] /home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29<br>
<span class="">[ERROR] throw new Error(errorMessage);<br>
[ERROR] ^<br>
[ERROR]<br>
[ERROR] Error: Could not find the following rules specified in the configuration:<br>
</span>[ERROR] no-trailing-comma<br>
[ERROR] license-header<br>
[ERROR] at Object.loadRules (/home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29:15)<br>
[ERROR] at Linter.lint (/home/gbrown/repositories/hawkular/hawkular-btm/ui/target/gulp-build/node_modules/tslint/lib/tslint.js:24:44)<br>
<br>
The build was fine on Friday, but now does not work :(<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Gary<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
----- Original Message -----<br>
> Hey,<br>
><br>
> was trying to re-activate the exp-explorer branch on Hawkular for some<br>
> pet project.<br>
> Rebased onto current master and got this on a a mvn -Pdev clean install<br>
> in console<br>
> module.<br>
><br>
> Any idea what this error wants to tell me?<br>
><br>
> [INFO] [22:48:22] Starting 'copy-vendor-fonts'...<br>
> [INFO] [22:48:22] git log -n 1 --pretty='%h' (log : false)<br>
> [INFO] [22:48:22] Finished 'git-sha' after 288 ms<br>
> [ERROR]<br>
> /h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29<br>
> [ERROR] throw new Error(errorMessage);<br>
> [ERROR] ^<br>
> [ERROR]<br>
> [ERROR] Error: Could not find the following rules specified in the<br>
> configuration:<br>
> [ERROR] license-header<br>
> [ERROR] at Object.loadRules<br>
> (/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/ruleLoader.js:29:15)<br>
> [ERROR] at Linter.lint<br>
> (/h/hawkular-main/console/target/gulp-build/node_modules/tslint/lib/tslint.js:24:44)<br>
> [ERROR] at<br>
> /h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/index.js:96:34<br>
> [ERROR] at respond<br>
> (/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/index.js:73:7)<br>
> [ERROR] at respond<br>
> (/h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:140:7)<br>
> [ERROR] at<br>
> /h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:124:17<br>
> [ERROR] at<br>
> /h/hawkular-main/console/target/gulp-build/node_modules/gulp-tslint/node_modules/rcloader/node_modules/rcfinder/index.js:77:13<br>
> [ERROR] at doNTCallback0 (node.js:419:9)<br>
> [ERROR] at process._tickCallback (node.js:348:13)<br>
> [INFO]<br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> hawkular-dev mailing list<br>
> <a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
><br>
_______________________________________________<br>
hawkular-dev mailing list<br>
<a href="mailto:hawkular-dev@lists.jboss.org">hawkular-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/hawkular-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/hawkular-dev</a><br>
</div></div></blockquote></div><br></div>