VSCode AEM Sync: Issue with "path not under jcr_root folder" Error
Hello everyone,
I am currently developing with Adobe Experience Manager (AEM) using the VSCode AEM Sync extension and have encountered the following error message:
”path not under jcr_root folder: /home/aem_XXXX/ui.apps/src”
This issue arises despite the fact that the specified path ”/home/aem_XXXX/ui.apps/src/main/content/jcr_root/apps/site/www/news-release/clientlibs/clientlib-site/” includes the jcr_root directory.
Environment
- Running Docker containers on Windows using WSL
- Using Ubuntu inside the container
- AEM is running fine, and localhost:4502 is accessible
Additional Information
The output from VSCode AEM Sync is constantly showing "AEM Sync started... Searching for jcr_root" and it seems not to be detecting the jcr_root correctly.
Attempts to Resolve
- Checked file paths and permissions inside the Docker container
- Verified VSCode workspace settings (workspaceContains:**/jcr_root/**)
I would appreciate any advice or solutions to this issue, especially any tips on setting up paths when using VSCode AEM Sync in a Docker environment.
Thank you in advance.