我使用此mvn -Pprod
并收到如下错误:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:yarn (webpack build prod) on project jhi: Failed to run task: 'yarn run webpack:prod' failed. org.apache.commons.exec.ExecuteE
xception: 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
参数: E:\ vaqtinchalik \ Vaqf \ jhiProject \ node \ node.exe E:\ vaqtinchalik \ Vaqf \ jhiProject \ node \ yarn \ dist \ bin \ yarn.js install --force
路径: E:\ vaqtinchalik \ Vaqf \ jhiProject \ node; E:\ vaqtinchalik \ Vaqf \ jhiProject \ node \ yarn \ dist \ bin; E:\ vaqtinchalik \ Vaqf \ jhiProject \ node_modules.bin; C:\ Program Files(x86)\ Google \ Chrome \ Application; C:\ Program Files(x86)\ Common Files \ Oracle \ Java \ javapath; C:\ Windows \ system32; C:\ Windows; C:\ Windows \ System32 \ Wbem; C:\ Windows \ System32 \ WindowsPowerShell \ v1.0 \; C:\ Windows \ System32 \ OpenSSH \; C:\ Program Files \ Java \ jdk1.8.0_66 \ bin; E:\ maven \ apache-maven-3.5.4 \ bin; C :\ Program Files(x86)\ Yarn \ bin \; C:\ Program Files \ Microsoft \ Web Platform Installer \; C:\ Program Files(x86)\ Microsoft ASP.NET \ ASP.NET Web Pages \ v1.0 \ ; C:\ Program Files(x86)\ Windows Kits \ 8.0 \ Windows Performance Toolkit \; C:\ Program Files \ Microsoft SQL Server \ 110 \ Tools \ Binn \; C:\ Program Files \ nodejs \; C:\ Program Files \ PuTTY \; C:\ Program Files(x86)\ Microsoft SQL Server \ 110 \ Tools \ Binn \ ManagementStudio \; C:\ Program Files(x86)\ Microsoft SQL Server \ 110 \ Tools \ Binn \; C:\程序文件(x86)\ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ PrivateAssemblies \; C:\ Program Files (x86)\ Microsoft SQL Server \ 110 \ DTS \ Binn \; C:\ Program Files(x86)\ WinMerge; C:\ Program Files \ Git \ cmd; C:\ Users \ JavaProgUZ \ AppData \ Local \ Microsoft \ WindowsApps ; C:\ Users \ JavaProgUZ \ AppData \ Local \ Yarn \ bin; C:\ Users \ JavaProgUZ \ AppData \ Roaming \ npm;
纱线版本: 1.3.2
节点版本: 8.9.4
追踪: 错误:EPERM:不允许操作,请取消链接“ E:\ vaqtinchalik \ Vaqf \ jhiProject \ node_modules \ node-sass \ vendor \ win32-x64-57 \ binding.node”