“我在跑步时面临问题”;“mvn清洁安装”;将AEM与react连接时

“我在跑步时面临问题”;“mvn清洁安装”;将AEM与react连接时,aem,single-page-application,aem-6,Aem,Single Page Application,Aem 6,我遵循了将reactjs与AEM集成的教程,在运行“mvn clean install”时遇到了问题,我能够正确地执行前面的步骤 C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app>mvn clean install [INFO] Scanning for projects... [INFO] [INFO] ---------< com.adobe.aem.g

我遵循了将reactjs与AEM集成的教程,在运行“mvn clean install”时遇到了问题,我能够正确地执行前面的步骤

C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ---------< com.adobe.aem.guides:aem-guides-wknd-events.react >----------
[INFO] Building WKND Events - React App 0.0.1-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ aem-guides-wknd-events.react ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ aem-guides-wknd-events.react ---
[INFO]
[INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ aem-guides-wknd-events.react ---
[INFO] Installing node version v10.8.0
[INFO] Copying node binary from C:\Users\TEJA\.m2\repository\com\github\eirslett\node\10.8.0\node-10.8.0-win-x64.exe to C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app\node\node.exe
[INFO] Installed node locally.
[INFO] NPM 6.2.0 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ aem-guides-wknd-events.react ---
[INFO] Running 'npm install' in C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.810 s
[INFO] Finished at: 2019-10-20T23:44:11+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project aem-guides-wknd-events.react: Failed to run task: 'npm install' failed. java.io.IOException: Cannot run program "C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app\node\node.exe" (in directory "C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app"): CreateProcess error=193, %1 is not a valid Win32 application -> [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

C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app>npm install aem-clientlib-generator --save-dev
npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ aem-clientlib-generator@1.4.4
updated 1 package and audited 33138 packages in 31.111s
found 1041 vulnerabilities (71 low, 8 moderate, 960 high, 2 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ---------< com.adobe.aem.guides:aem-guides-wknd-events.react >----------
[INFO] Building WKND Events - React App 0.0.1-SNAPSHOT
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ aem-guides-wknd-events.react ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ aem-guides-wknd-events.react ---
[INFO]
[INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and npm) @ aem-guides-wknd-events.react ---
[INFO] Installing node version v10.8.0
[INFO] Copying node binary from C:\Users\TEJA\.m2\repository\com\github\eirslett\node\10.8.0\node-10.8.0-win-x64.exe to C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app\node\node.exe
[INFO] Installed node locally.
[INFO] NPM 6.2.0 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ aem-guides-wknd-events.react ---
[INFO] Running 'npm install' in C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.590 s
[INFO] Finished at: 2019-10-20T23:45:29+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.6:npm (npm install) on project aem-guides-wknd-events.react: Failed to run task: 'npm install' failed. java.io.IOException: Cannot run program "C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app\node\node.exe" (in directory "C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app"): CreateProcess error=193, %1 is not a valid Win32 application -> [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

C:\Users\TEJA\Desktop\Start-aem-wknd-events-react\Start\aem-guides-wknd-events\react-app>mvn clean install
C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app>mvn clean install
[信息]正在扫描项目。。。
[信息]
[信息]---------------------
[信息]正在生成WKND事件-React应用程序0.0.1-SNAPSHOT
[信息]--------------------------------------[pom]---------------------------------
[信息]
[信息]---maven clean插件:3.0.0:clean(默认清洁)@aem-guides-wknd-events.react---
[信息]
[信息]---maven enforcer插件:1.4.1:enforce(enforce maven)@aem-guides-wknd-events.react---
[信息]
[信息]---前端maven插件:1.6:安装节点和npm(安装节点和npm)@aem-guides-wknd-events.react---
[信息]安装节点版本v10.8.0
[信息]将节点二进制文件从C:\Users\TEJA\.m2\repository\com\github\eirslett\node\10.8.0\node-10.8.0-win-x64.exe复制到C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app\node\node.exe
[信息]本地安装的节点。
[信息]已安装NPM 6.2.0。
[信息]
[信息]---前端maven插件:1.6:npm(npm安装)@aem-guides-wknd-events.react---
[信息]在C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react应用程序中运行“npm安装”
[信息]------------------------------------------------------------------------
[信息]生成失败
[信息]------------------------------------------------------------------------
[信息]总时间:3.810秒
[信息]完成时间:2019-10-20T23:44:11+05:30
[信息]------------------------------------------------------------------------
[错误]无法在项目aem-guides-wknd-events上执行目标com.github.eirslett:frontend maven插件:1.6:npm(npm安装)。反应:无法运行任务:“npm安装”失败。java.io.IOException:无法运行程序“C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app\node\node.exe”(在目录“C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app”中):CreateProcess错误=193,%1不是有效的Win32应用程序->[帮助1]
[错误]
[错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
[错误]使用-X开关重新运行Maven以启用完整调试日志记录。
[错误]
[错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:
[错误][帮助1]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app>npm安装aem客户端库生成器--保存开发
npm警告ajv-keywords@3.2.0需要ajv@^6.0.0的对等机,但未安装任何对等机。您必须自己安装对等依赖项。
npm警告可选跳过可选依赖项:fsevents@1.2.4(节点\u模块\fsevents):
npm WARN notsup跳过可选依赖项:不支持的平台fsevents@1.2.4:通缉{“os”:“达尔文”,“拱门”:“任何”}(当前:{“os”:“win32”,“拱门”:“x64”})
+aem客户端库-generator@1.4.4
在31.111秒内更新了1个软件包,并审核了33138个软件包
发现1041个漏洞(71个低漏洞,8个中等漏洞,960个高漏洞,2个严重漏洞)
运行'npm audit fix'修复它们,或运行'npm audit'获取详细信息
C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app>mvn clean install
[信息]正在扫描项目。。。
[信息]
[信息]---------------------
[信息]正在生成WKND事件-React应用程序0.0.1-SNAPSHOT
[信息]--------------------------------------[pom]---------------------------------
[信息]
[信息]---maven clean插件:3.0.0:clean(默认清洁)@aem-guides-wknd-events.react---
[信息]
[信息]---maven enforcer插件:1.4.1:enforce(enforce maven)@aem-guides-wknd-events.react---
[信息]
[信息]---前端maven插件:1.6:安装节点和npm(安装节点和npm)@aem-guides-wknd-events.react---
[信息]安装节点版本v10.8.0
[信息]将节点二进制文件从C:\Users\TEJA\.m2\repository\com\github\eirslett\node\10.8.0\node-10.8.0-win-x64.exe复制到C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app\node\node.exe
[信息]本地安装的节点。
[信息]已安装NPM 6.2.0。
[信息]
[信息]---前端maven插件:1.6:npm(npm安装)@aem-guides-wknd-events.react---
[信息]在C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react应用程序中运行“npm安装”
[信息]------------------------------------------------------------------------
[信息]生成失败
[信息]------------------------------------------------------------------------
[信息]总时间:3.590秒
[信息]完成时间:2019-10-20T23:45:29+05:30
[信息]------------------------------------------------------------------------
[错误]无法在项目aem-guides-wknd-events上执行目标com.github.eirslett:frontend maven插件:1.6:npm(npm安装)。反应:无法运行任务:“npm安装”失败。java.io.IOException:无法运行程序“C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app\node\node.exe”(在目录“C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app”中):CreateProcess错误=193,%1不是有效的Win32应用程序->[帮助1]
[错误]
[错误]要查看错误的完整堆栈跟踪,请使用-e开关重新运行Maven。
[错误]使用-X开关重新运行Maven以启用完整调试日志记录。
[错误]
[错误]有关错误和可能的解决方案的更多信息,请阅读以下文章:
[错误][帮助1]http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
C:\Users\TEJA\Desktop\Start aem wknd events react\Start\aem guides wknd events\react app>mvn clean install