Advertisement
atruszek

Vaadin Forum 17827780

Sep 10th, 2019
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.30 KB | None | 0 0
  1. ...
  2. 11:52:21 [DEBUG]
  3. >>> Running prepare-package in projecttwo project
  4. System.properties:
  5. productionMode: null
  6. bowerMode: null
  7. compatibilityMode: null
  8. webpackPort: null
  9. project.basedir: null
  10. Goal parameters:
  11. productionMode: false
  12. compatibilityMode: null
  13. compatibility: false
  14. npmFolder: c:\Users\H74021575\sources\projecttwo
  15. Token file: c:\Users\H74021575\sources\projecttwo\target\classes\META-INF\VAADIN\config\flow-build-info.json
  16. Token content: {"compatibilityMode":false,"productionMode":false,"npmFolder":"c:\\Users\\H74021575\\sources\\projecttwo","generatedFolder":"c:\\Users
  17. \H74021575\\sources\\projecttwo\\target\\frontend","frontendFolder":"c:\\Users\\H74021575\\sources\\projecttwo\\frontend"}
  18.  
  19. 11:55:31 [DEBUG] Command '[C:\Program Files\nodejs\npm.cmd, -v]' has non-empty stderr:
  20. 'npm info it worked if it ends with ok
  21. npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
  22. npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
  23. npm verb cli 'prefix',
  24. npm verb cli '-g' ]
  25. npm info using npm@6.9.0
  26. npm info using node@v10.16.3
  27. npm verb exit [ 0, true ]
  28. npm timing npm Completed in 122ms
  29. npm info ok '
  30. 11:55:31 [INFO] ------------------------------------------------------------------------
  31. 11:55:31 [INFO] BUILD FAILURE
  32. 11:55:31 [INFO] ------------------------------------------------------------------------
  33. 11:55:31 [INFO] Total time: 03:25 min
  34. 11:55:31 [INFO] Finished at: 2019-09-10T11:55:31+02:00
  35. 11:55:31 [INFO] ------------------------------------------------------------------------
  36. 11:55:31 [ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:14.0.2:prepare-frontend (default) on project projecttwo:
  37. 11:55:31 [ERROR]
  38. 11:55:31 [ERROR] ======================================================================================================
  39. 11:55:31 [ERROR] Failed to determine 'npm.cmd' tool.
  40. 11:55:31 [ERROR] Please install it either:
  41. 11:55:31 [ERROR] - by following the https://nodejs.org/en/download/ guide to install it globally
  42. 11:55:31 [ERROR] - or by running the frontend-maven-plugin goal to install it in this project:
  43. 11:55:31 [ERROR] $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
  44. 11:55:31 [ERROR] ======================================================================================================
  45. 11:55:31 [ERROR]
  46. 11:55:31 [ERROR] -> [Help 1]
  47. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vaadin:vaadin-maven-plugin:14.0.2:prepare-frontend (default) on pr
  48. ject projecttwo:
  49.  
  50. ======================================================================================================
  51. Failed to determine 'npm.cmd' tool.
  52. Please install it either:
  53. - by following the https://nodejs.org/en/download/ guide to install it globally
  54. - or by running the frontend-maven-plugin goal to install it in this project:
  55. $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
  56. ======================================================================================================
  57.  
  58. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
  59. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
  60. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
  61. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
  62. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
  63. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
  64. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
  65. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
  66. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
  67. at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
  68. at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
  69. at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
  70. at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
  71. at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  72. at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  73. at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  74. at java.lang.reflect.Method.invoke (Method.java:498)
  75. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
  76. at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
  77. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
  78. at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
  79. Caused by: org.apache.maven.plugin.MojoExecutionException:
  80.  
  81. ======================================================================================================
  82. Failed to determine 'npm.cmd' tool.
  83. Please install it either:
  84. - by following the https://nodejs.org/en/download/ guide to install it globally
  85. - or by running the frontend-maven-plugin goal to install it in this project:
  86. $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
  87. ======================================================================================================
  88.  
  89. at com.vaadin.flow.plugin.maven.PrepareFrontendMojo.execute (PrepareFrontendMojo.java:148)
  90. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
  91. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
  92. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
  93. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
  94. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
  95. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
  96. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
  97. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
  98. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
  99. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
  100. at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
  101. at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
  102. at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
  103. at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
  104. at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  105. at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  106. at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  107. at java.lang.reflect.Method.invoke (Method.java:498)
  108. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
  109. at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
  110. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
  111. at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
  112. Caused by: java.lang.IllegalStateException:
  113.  
  114. ======================================================================================================
  115. Failed to determine 'npm.cmd' tool.
  116. Please install it either:
  117. - by following the https://nodejs.org/en/download/ guide to install it globally
  118. - or by running the frontend-maven-plugin goal to install it in this project:
  119. $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
  120. ======================================================================================================
  121.  
  122. at com.vaadin.flow.server.frontend.FrontendUtils.getExecutable (FrontendUtils.java:291)
  123. at com.vaadin.flow.server.frontend.FrontendUtils.getNpmExecutable (FrontendUtils.java:249)
  124. at com.vaadin.flow.plugin.maven.PrepareFrontendMojo.execute (PrepareFrontendMojo.java:144)
  125. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
  126. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
  127. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
  128. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
  129. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
  130. at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
  131. at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
  132. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
  133. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
  134. at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
  135. at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
  136. at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
  137. at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
  138. at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
  139. at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
  140. at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
  141. at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
  142. at java.lang.reflect.Method.invoke (Method.java:498)
  143. at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
  144. at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
  145. at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
  146. at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
  147. 11:55:33 [ERROR]
  148. 11:55:33 [ERROR]
  149. 11:55:33 [ERROR] For more information about the errors and possible solutions, please read the following articles:
  150. 11:55:33 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement