Skip to content

Failed using latest version of frontend-maven-plugin & spring boot #1

@hendisantika

Description

@hendisantika

Nice repo. But I have an error Failed using latest version of frontend-maven-plugin & spring boot when trying to run mvn clean package

[INFO] Scanning for projects...
[INFO] 
[INFO] -------------< com.hendisantika:spring-boot-vuejs-sample >--------------
[INFO] Building spring-boot-vuejs-sample 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ spring-boot-vuejs-sample ---
[INFO] 
[INFO] --- frontend-maven-plugin:1.12.0:install-node-and-npm (Install node and npm) @ spring-boot-vuejs-sample ---
[INFO] Node v15.14.0 is already installed.
[INFO] NPM 7.18.1 is already installed.
[INFO] 
[INFO] --- frontend-maven-plugin:1.12.0:npm (npm install) @ spring-boot-vuejs-sample ---
[INFO] Running 'npm install' in /Users/hendisantika/IdeaProjects/spring-boot-vuejs-sample/src/frontend
[INFO] 
[INFO] up to date, audited 1358 packages in 8s
[INFO] 
[INFO] 18 vulnerabilities (10 moderate, 8 high)
[INFO] 
[INFO] To address issues that do not require attention, run:
[INFO]   npm audit fix
[INFO] 
[INFO] To address all issues (including breaking changes), run:
[INFO]   npm audit fix --force
[INFO] 
[INFO] Run `npm audit` for details.
[INFO] 
[INFO] --- frontend-maven-plugin:1.12.0:npm (npm build) @ spring-boot-vuejs-sample ---
[INFO] Running 'npm run build' in /Users/hendisantika/IdeaProjects/spring-boot-vuejs-sample/src/frontend
[INFO] 
[INFO] > frontend@0.1.0 build
[INFO] > vue-cli-service build
[INFO] 
[INFO] 
[INFO] -  Building for production...
[INFO]  ERROR  Failed to compile with 1 error5:27:00 PM
[INFO] 
[INFO]  error  in ./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js
[INFO] 
[INFO] Module parse failed: Unexpected token (763:13)
[INFO] Module parse failed: Unexpected token (763:13) ERROR  Build failed with errors.
[INFO] You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
[INFO] | }
[INFO] | class RefImpl {
[INFO] >     _rawValue;
[INFO] |     _shallow;
[INFO] |     _value;
[INFO] 
[INFO]  @ ./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js 1:0-233 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 2:0-216 16:4-17 40:4-17 107:13-18 108:32-37 115:16-21 1958:8-13 1962:13-23 1968:35-45 1970:16-21 1973:21-31 2071:19-25 2094:8-12 2135:8-13 2210:29-34 2557:27-30 2558:26-29 2559:28-31 2905:16-29 2912:16-29 3043:28-36 3362:41-56 3378:28-33 3463:8-15 3500:32-37 3647:27-32 3823:29-34 3951:12-25 3958:12-25 4568:17-22 4592:13-18 5173:26-32 5336:8-21 5340:8-21 5755:16-20 5761:12-16 6296:27-32 6328:12-19 6338:16-23 6847:16-21 6997:16-21 7150:21-28 7160:8-21 7162:8-21 7210:30-39 7264:8-21 7266:8-21 7334:46-55 7334:56-63 7389:14-24 7576:21-26 7586:21-31 7593:24-34 7596:21-31 7624:53-58 7630:52-57 7696:48-53
[INFO]  @ ./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js
[INFO]  @ ./node_modules/vue/dist/vue.runtime.esm-bundler.js
[INFO]  @ ./src/main.js
[INFO]  @ multi ./src/main.js
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  23.832 s
[INFO] Finished at: 2021-07-03T17:27:00+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:npm (npm build) on project spring-boot-vuejs-sample: Failed to run task: 'npm run build' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [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
hendisantika@192 spring-boot-vuejs-sample % 

Here's the repo clone from your repo: https://github.com/hendisantika/spring-boot-vuejs-sample
Any idea?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions