I'm not sure why it's happening. Could you try dsetmac-2:zeppelin-web: master $ rm -rf bower_components dsetmac-2:zeppelin-web: master $ ./bower install ( not 'bower install')
? On Sat, Jun 27, 2015 at 9:22 PM Dmitriy Setrakyan <[email protected]> wrote: > Oops, I thought I was in that directory. > > Now I get this error: > ------------------------------ > > dsetmac-2:zeppelin-web: master $ bower install > > > module.js:340 > > throw err; > > ^ > > Error: Cannot find module 'q' > > at Function.Module._resolveFilename (module.js:338:15) > > at Function.Module._load (module.js:280:25) > > at Module.require (module.js:364:17) > > at require (module.js:380:17) > > at Object.<anonymous> > > (/Users/Dmitriy/GridGain/gitroot/incubator-zeppelin/zeppelin-web/node_modules/bower/bin/bower:6:9) > > at Module._compile (module.js:456:26) > > at Object.Module._extensions..js (module.js:474:10) > > at Module.load (module.js:356:32) > > at Function.Module._load (module.js:312:12) > > at Function.Module.runMain (module.js:497:10) > ------------------------------- > > On Sat, Jun 27, 2015 at 2:13 PM, moon soo Lee <[email protected]> wrote: > > > Could you run the command inside of zeppelin-web directory? > > > > > > On Sat, Jun 27, 2015 at 11:55 AM Dmitriy Setrakyan < > [email protected]> > > wrote: > > > > > Now I get this error > > > > > > > > > -------------------- > > > > > > dsetmac-2:incubator-zeppelin: master $ bower install > > > > > > bower ENOENT No bower.json present > > > > > > -------------------- > > > > > > On Fri, Jun 26, 2015 at 6:51 PM, moon soo Lee <[email protected]> wrote: > > > > > > > Hi, > > > > > > > > Could you try > > > > > > > > cd zeppelin-web > > > > ./bower install > > > > > > > > and try build again? > > > > > > > > Thanks, > > > > moon > > > > > > > > On Fri, Jun 26, 2015 at 5:25 PM Dmitriy Setrakyan < > > [email protected] > > > > > > > > wrote: > > > > > > > > > I get this error when running "mvn install" command. Any ideas? > > > > > ---------- > > > > > > > > > > [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] > > > > > > > > > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to > > > execute > > > > > goal com.github.eirslett:frontend-maven-plugin:0.0.23:bower (bower > > > > install) > > > > > on project zeppelin-web: Failed to run task > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) > > > > > > > > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347) > > > > > > > > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154) > > > > > > > > > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582) > > > > > > > > > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214) > > > > > > > > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:158) > > > > > > > > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > > > > > > > > > > at java.lang.reflect.Method.invoke(Method.java:606) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > > > > > > > > > > at > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > > > > > > > > > > at > > > > > > > > > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > > > > > > > > > > Caused by: org.apache.maven.plugin.MojoFailureException: Failed to > > run > > > > task > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > com.github.eirslett.maven.plugins.frontend.mojo.BowerMojo.execute(BowerMojo.java:41) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > > > > > > > > > > ... 19 more > > > > > > > > > > Caused by: > > > > > com.github.eirslett.maven.plugins.frontend.lib.TaskRunnerException: > > > > 'bower > > > > > --allow-root install' failed. (error code 8) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > com.github.eirslett.maven.plugins.frontend.lib.NodeTaskExecutor.execute(NodeTaskExecutor.java:38) > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > com.github.eirslett.maven.plugins.frontend.mojo.BowerMojo.execute(BowerMojo.java:39) > > > > > > > > > > ... 21 more > > > > > > > > > > [ERROR] > > > > > > > > > > [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 > > > > > > > > > > > > > > >
