AEM WKND Tutorial Installation Error
Hello,
I'm following the WKND site tutorial for Intellij (https://experienceleague.adobe.com/docs/experience-manager-learn/foundation/development/set-up-a-local-aem-development-environment.html?lang=en) and am having a similar problem as this fellow had: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/npm-error-running-pautoinstallsinglepackage-clean-install/m-p/379777#M15222
Following the above answer's advice, I made sure to download and use the latest stable node version via nvm. I'm on a Windows machine with node version 16.17.0
In Intellij's maven window, using the profile "autoInstallPackage" and attempting to run the "install" lifecycle, I get the following. Please advise, thanks!
Additionally, in the Intellij video, the author navigates to https://repo.adobe.com to attain an XML settings file which he later adds to his maven settings, but when navigate to that address, I get a 404.
[INFO] ERROR in C:\Users\Work\Desktop\adobe\aem-guides-wknd\ui.frontend\node_modules\@types\express-serve-static-core\index.d.ts
[INFO] 1255:0
[INFO] [tsl] ERROR in C:\Users\Work\Desktop\adobe\aem-guides-wknd\ui.frontend\node_modules\@types\express-serve-static-core\index.d.ts(1255,1)
[INFO] TS1160: Unterminated template literal.
[INFO] ts-loader-default_e3b0c44298fc1c14
[INFO]
[INFO] 2022-09-20 16:07:34: webpack 5.74.0 compiled with 127 errors and 2 warnings in 12028 ms
[INFO] npm ERR! code ELIFECYCLE
[INFO] npm ERR! errno 1
[INFO] npm ERR! aem-maven-archetype@1.0.0 prod: `webpack --config ./webpack.prod.js && clientlib --verbose`
[INFO] npm ERR! Exit status 1
[INFO] npm ERR!
[INFO] npm ERR! Failed at the aem-maven-archetype@1.0.0 prod script.
[INFO] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[INFO]
[INFO] npm ERR! A complete log of this run can be found in:
[INFO] npm ERR! C:\Users\Work\AppData\Roaming\npm-cache\_logs\2022-09-20T21_07_34_461Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for WKND Sites Project 0.0.1-SNAPSHOT:
[INFO]
[INFO] WKND Sites Project ................................. SUCCESS [ 0.173 s]
[INFO] WKND Sites Project - Core .......................... SUCCESS [ 3.544 s]
[INFO] WKND Sites Project - UI Frontend ................... FAILURE [ 23.220 s]
[INFO] WKND Sites Project - Repository Structure Package .. SKIPPED
[INFO] WKND Sites Project - UI apps ....................... SKIPPED
[INFO] WKND Sites Project - UI content .................... SKIPPED
[INFO] WKND Sites Project - UI config ..................... SKIPPED
[INFO] WKND Sites Project - All ........................... SKIPPED
[INFO] WKND Sites Project - Integration Tests ............. SKIPPED
[INFO] WKND Sites Project - Dispatcher .................... SKIPPED
[INFO] WKND Sites Project - UI Tests ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.243 s
[INFO] Finished at: 2022-09-20T16:07:34-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.12.0:npm (npm run prod) on project aem-guides-wknd.ui.frontend: Failed to run task: 'npm run prod' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
