Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- 11:52:21 [DEBUG]
- >>> Running prepare-package in projecttwo project
- System.properties:
- productionMode: null
- bowerMode: null
- compatibilityMode: null
- webpackPort: null
- project.basedir: null
- Goal parameters:
- productionMode: false
- compatibilityMode: null
- compatibility: false
- npmFolder: c:\Users\H74021575\sources\projecttwo
- Token file: c:\Users\H74021575\sources\projecttwo\target\classes\META-INF\VAADIN\config\flow-build-info.json
- Token content: {"compatibilityMode":false,"productionMode":false,"npmFolder":"c:\\Users\\H74021575\\sources\\projecttwo","generatedFolder":"c:\\Users
- \H74021575\\sources\\projecttwo\\target\\frontend","frontendFolder":"c:\\Users\\H74021575\\sources\\projecttwo\\frontend"}
- 11:55:31 [DEBUG] Command '[C:\Program Files\nodejs\npm.cmd, -v]' has non-empty stderr:
- 'npm info it worked if it ends with ok
- npm verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
- npm verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
- npm verb cli 'prefix',
- npm verb cli '-g' ]
- npm info using npm@6.9.0
- npm info using node@v10.16.3
- npm verb exit [ 0, true ]
- npm timing npm Completed in 122ms
- npm info ok '
- 11:55:31 [INFO] ------------------------------------------------------------------------
- 11:55:31 [INFO] BUILD FAILURE
- 11:55:31 [INFO] ------------------------------------------------------------------------
- 11:55:31 [INFO] Total time: 03:25 min
- 11:55:31 [INFO] Finished at: 2019-09-10T11:55:31+02:00
- 11:55:31 [INFO] ------------------------------------------------------------------------
- 11:55:31 [ERROR] Failed to execute goal com.vaadin:vaadin-maven-plugin:14.0.2:prepare-frontend (default) on project projecttwo:
- 11:55:31 [ERROR]
- 11:55:31 [ERROR] ======================================================================================================
- 11:55:31 [ERROR] Failed to determine 'npm.cmd' tool.
- 11:55:31 [ERROR] Please install it either:
- 11:55:31 [ERROR] - by following the https://nodejs.org/en/download/ guide to install it globally
- 11:55:31 [ERROR] - or by running the frontend-maven-plugin goal to install it in this project:
- 11:55:31 [ERROR] $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
- 11:55:31 [ERROR] ======================================================================================================
- 11:55:31 [ERROR]
- 11:55:31 [ERROR] -> [Help 1]
- org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.vaadin:vaadin-maven-plugin:14.0.2:prepare-frontend (default) on pr
- ject projecttwo:
- ======================================================================================================
- Failed to determine 'npm.cmd' tool.
- Please install it either:
- - by following the https://nodejs.org/en/download/ guide to install it globally
- - or by running the frontend-maven-plugin goal to install it in this project:
- $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
- ======================================================================================================
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
- at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
- at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
- at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
- at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:498)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
- Caused by: org.apache.maven.plugin.MojoExecutionException:
- ======================================================================================================
- Failed to determine 'npm.cmd' tool.
- Please install it either:
- - by following the https://nodejs.org/en/download/ guide to install it globally
- - or by running the frontend-maven-plugin goal to install it in this project:
- $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
- ======================================================================================================
- at com.vaadin.flow.plugin.maven.PrepareFrontendMojo.execute (PrepareFrontendMojo.java:148)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
- at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
- at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
- at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
- at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:498)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
- Caused by: java.lang.IllegalStateException:
- ======================================================================================================
- Failed to determine 'npm.cmd' tool.
- Please install it either:
- - by following the https://nodejs.org/en/download/ guide to install it globally
- - or by running the frontend-maven-plugin goal to install it in this project:
- $ mvn com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm -DnodeVersion="v10.16.0"
- ======================================================================================================
- at com.vaadin.flow.server.frontend.FrontendUtils.getExecutable (FrontendUtils.java:291)
- at com.vaadin.flow.server.frontend.FrontendUtils.getNpmExecutable (FrontendUtils.java:249)
- at com.vaadin.flow.plugin.maven.PrepareFrontendMojo.execute (PrepareFrontendMojo.java:144)
- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
- at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
- at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
- at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
- at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
- at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
- at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
- at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
- at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
- at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
- at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke (Method.java:498)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
- at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
- at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
- at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
- 11:55:33 [ERROR]
- 11:55:33 [ERROR]
- 11:55:33 [ERROR] For more information about the errors and possible solutions, please read the following articles:
- 11:55:33 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement