Hello Team,
I was trying to create a new project for SPA app and below is command used to create a project:
mvn -B archetype:generate -D archetypeGroupId=com.adobe.aem -D archetypeArtifactId=aem-project-archetype -D archetypeVersion=27 -D appTitle="My SPA React App" -D appId="my-spa-react" -D artifactId="aem-guides-wknd-spa.react" -D groupId="com.adobe.aem.my.app.react" -D frontendModule="react" -D aemVersion="cloud"
Project getting created with following error message:
Not sure what privilege need to set before executing command.
Solved! Go to Solution.
Views
Replies
Total Likes
@pradeepmoolemane If you are on Windows machine, Run your Command Prompt as Adiministrator and then execute maven command.
For other OS use sudo or use a user which has proper permission. For MAC/Linux, you can use sudo su -user to swirch to a appropriate user. Then execute maven commands.
This isn't a problem with application permissions, but a problem with the operating system permissions. See FileSystemException.
The issue can be fixed by running the Maven command as a Elevated user or Run as Administrator.
@pradeepmoolemane If you are on Windows machine, Run your Command Prompt as Adiministrator and then execute maven command.
For other OS use sudo or use a user which has proper permission. For MAC/Linux, you can use sudo su -user to swirch to a appropriate user. Then execute maven commands.
Views
Likes
Replies