-
Notifications
You must be signed in to change notification settings - Fork 848
Description
[root@azitshdpmst01p dr-elephant-master]# ./compile.sh
Checking for required programs...
Program requirement is fulfilled!
Using the default configuration
Hadoop Version : 2.3.0
Spark Version : 1.4.0
Other opts set :
############################################################################
npm installation found, we'll compile with the new user interface
############################################################################
- sleep 3
- ember_assets=/usr/local/dr-elephant-master/public/assets
- ember_resources_dir=/usr/local/dr-elephant-master/public/assets/ember
- ember_web_directory=/usr/local/dr-elephant-master/web
- cd /usr/local/dr-elephant-master/web
- npm install
up to date in 5.689s - node_modules/bower/bin/bower install
bower ESUDO Cannot be run with sudo
Additional error details:
Since bower is a user command, there is no need to execute it with superuser permissions.
If you're having permission errors when using bower without sudo, please spend a few minutes learning more about how your system should work and make any necessary repairs.
http://www.joyent.com/blog/installing-node-and-npm
https://gist.github.com/isaacs/579814
You can however run a command with sudo using "--allow-root" option
- node_modules/ember-cli/bin/ember build --prod
WARNING: Node v8.1.1 has currently not been tested against Ember CLI and may result in unexpected behaviour.
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
Built project successfully. Stored in "dist/".
File sizes:
- dr-elephant.css: 8.61 KB (2.49 KB gzipped)
- dr-elephant.js: 277.74 KB (28.33 KB gzipped)
- aggregated-metrics.css: 207 B (156 B gzipped)
- application-menu.css: 334 B (218 B gzipped)
- application.css: 34 B (54 B gzipped)
- breadcrumbs.css: 1.36 KB (566 B gzipped)
- dashboard-header.css: 609 B (340 B gzipped)
- heuristic-detail.css: 127 B (109 B gzipped)
- heuristics-summary.css: 536 B (281 B gzipped)
- jobs-severity.css: 333 B (202 B gzipped)
- loading-panel.css: 129 B (126 B gzipped)
- navbar.css: 920 B (282 B gzipped)
- not-found.css: 76 B (74 B gzipped)
- search-panel.css: 39 B (59 B gzipped)
- search.css: 569 B (300 B gzipped)
- user-detail.css: 988 B (435 B gzipped)
- user-tabs.css: 725 B (321 B gzipped)
- user-tags.css: 76 B (75 B gzipped)
- vendor.css: 143.24 KB (24.08 KB gzipped)
- vendor.js: 1.22 MB (357.84 KB gzipped)
- rm -r /usr/local/dr-elephant-master/public/assets/ember
- mkdir /usr/local/dr-elephant-master/public/assets/ember
- cp dist/assets/dr-elephant.css /usr/local/dr-elephant-master/public/assets/ember/
- cp dist/assets/dr-elephant.js /usr/local/dr-elephant-master/public/assets/ember/
- cp dist/assets/vendor.js /usr/local/dr-elephant-master/public/assets/ember/
- cp dist/assets/vendor.css /usr/local/dr-elephant-master/public/assets/ember/
- cp -r dist/fonts /usr/local/dr-elephant-master/public/assets/
- cd /usr/local/dr-elephant-master
- trap exit SIGINT SIGTERM
- set +x
Command is: play -Dhadoopversion=2.3.0 -Dsparkversion=1.4.0 clean compile test
./compile.sh: line 53: play: command not found
Build failed...
[root@azitshdpmst01p dr-elephant-master]#