1. my local machine env
2. init AEM command
mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=39 -D appTitle="WKND Sites Project" -D appId="wknd" -D groupId="com.adobe.aem.guides" -D artifactId="aem-guides-wknd" -D package="com.adobe.aem.guides.wknd" -D version="0.0.1-SNAPSHOT" -D aemVersion="6.5.0"
3. display this after run command above
i wait it until running over, show me like below
fail to deploy this in AEM instant, i had see many issues fix answers in community, but it did not work for me.
please save me. thank a lot !
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @guoliangwa ,
As I mentioned actual error was not there in your first screenshot.
Pls try below cmd
npm config set registry https://registry.npmjs.org/
or
and then build It should work.
Thanks
Hi @guoliangwa
Could you please go inside ui.frontend module and run 'mvn clean install' and share the build logs.
e.g.
cd D:\AEM_PROJECT\aem-guides-wknd\ui.frontend
mvn clean install
i had runned this command yesterday, i run it again today, it is the same error below this.
cd D:\AEM_PROJECT\aem-guides-wknd\ui.frontend mvn clean install
Hi @guoliangwa
You can see the error in the build log.
you are trying to connect to internal NPM repository to download the dependencies and which is failing due to expired certificate.
Please check this for resolution:
https://stackoverflow.com/questions/72220560/npm-err-code-cert-has-expired-angular-13
Hi arunpatidar, anyway, thank you for your support me! i modify my npm respositry to original npm respositry. it works for me! The taobao npm respositry cause me fail to mvn clean install. Thank you a lot!
Hi @guoliangwa ,
You may try https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/npm-error-while-doing-clea...
If above doesn't help try in fresh folder and it should work or you may downgrade your node version https://github.com/thingsboard/thingsboard/issues/1335#issuecomment-695977706
It worked for me with below in ubuntu system
Also share the first error message if possible probably above the screenshot you shared.
Thanks
I try to resolve below the two way, they are not work for me.
1.
the logs refer to below picture:
2.
3. i download the fixed node and npm, but it donot work too. My local system is window10, not ubuntu.
Hi @guoliangwa ,
As I mentioned actual error was not there in your first screenshot.
Pls try below cmd
npm config set registry https://registry.npmjs.org/
or
and then build It should work.
Thanks
@MukeshYadav_
Hi MukeshYadav,you are awesome and cool! As a china software engineer, i modified the resposity to registry.npm.taobao.org before. I modified the respositry to https://registry.npmjs.org/ , it works for me! The problem cost me two days to find answer... Thank you very much!
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies