AEM project generated using archetype 26 for AEM Cloud giving different errors on build
Getting different types of error while trying to build AEM project generated from following archetype command:
mvn archetype:generate -B -DarchetypeGroupId=com.adobe.aem -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=26 -DaemVersion=cloud -DsdkVersion=2021.11.6058.20211123T163652Z-211000 -DartifactId=genc-aem-training -DappTitle="AEM project" -DappId="aem-project" -DgroupId="com.aemproject" -DincludeDispatcherConfig=n
Error Type1:

Error Type 2:

Error Type 3:
Failed to execute goal ‘com.github.eirslett:frontend-maven-plugin:<plugin_version>:npm’ (npm install) on project’s ui.frontend module.
Ideally project generated using archetype should not give build errors. Could you please help.