Detect if npm install needs to be run and show a message.
@@ -76,11 +76,23 @@ under the License.
<div class="container-fluid">
<div class="row">
<div id="main_container" class="col-md-12">
- <div ng-view></div>
+ <div ng-view><div id="no-npm">Please run 'npm install' in the console/stand-alone/ directory.</div></div>
</div>
</div>
</div>
+<style>
+ #no-npm {
+ display: none;
+ }
+</style>
+<script>
+ setTimeout(function () {
+ var no_npm = document.getElementById('no-npm');
+ if (no_npm)
+ no_npm.style.display = "block";
+ }, 1000)
+</script>
<!-- Only needed for IE -->
<script src="node_modules/bluebird/js/browser/bluebird.js"></script>
