Renjith Kamath created ZEPPELIN-634:
---------------------------------------

             Summary: Build failure due to latest bower (1.7.5)
                 Key: ZEPPELIN-634
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-634
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Renjith Kamath


In package.json bower: "" version is empty. Hence "npm install" always picks 
the latest version of "bower". Yesterday a latest version (1.7.5) of bower was 
released where the package install directory structure is different (a new lib 
dir is added a level above the executable).

https://github.com/bower/bower/commit/bbaaee67a1344739f1e88a201aedaf4cec83d812

{code}
INFO] ├── [email protected] ([email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected], 
[email protected], [email protected])
[INFO] ├── [email protected] ([email protected], [email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected], 
[email protected], [email protected], [email protected], [email protected])
[INFO] └── [email protected] ([email protected], [email protected], [email protected], 
[email protected])
[INFO]
[INFO] [email protected] node_modules/bower
[INFO]
[INFO] --- frontend-maven-plugin:0.0.23:bower (bower install) @ zeppelin-web ---
[INFO] Running 'bower --allow-root install' in 
/Users/rkamath/rk-workspace/incubator-zeppelin/zeppelin-web
[ERROR]
[ERROR] module.js:340
[ERROR]     throw err;
[ERROR]           ^
[ERROR] Error: Cannot find module 
'/Users/rkamath/rk-workspace/incubator-zeppelin/zeppelin-web/node_modules/bower/bin/bower'
[ERROR]     at Function.Module._resolveFilename (module.js:338:15)
[ERROR]     at Function.Module._load (module.js:280:25)
[ERROR]     at Function.Module.runMain (module.js:497:10)
[ERROR]     at startup (node.js:119:16)
[ERROR]     at node.js:901:3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.548 s
[INFO] Finished at: 2016-01-27T12:28:33+05:30
[INFO] Final Memory: 20M/371M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:0.0.23:bower (bower install) on 
project zeppelin-web: Failed to run task: 'bower --allow-root install' failed. 
(error code 8) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to