Stack overflow: solution.js doesn't play well with Angular Zone.js
- Dominant language
- TypeScript
- Stars
- 48
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When deploying the Pipeline Hazards Patrol solution in Designer, the deployment process hangs at `addItem` call for the Web Experience item. At this point, all the rest items inside this solution have been created already, only missing the web experience item in the target folder.
This is a stack overflow issue and happens on both Production and DEVEXT versions of designer.
Current solution.js version in Designer: 0.20.1
**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://devext.arcgis.com/apps/quickcapture/projects (QuickCapture_Web | QuickCapture1)
2. Click **New project**, select **Start from template**
3. Click **From organization**.
4. Select **Pipeline Hazards Patrol** and click **Use template**
5. See the error below.

**Additional context**
1. The issue seems to only affect the QuickCapture Designer client so far, but it stops the product team from creating a QuickCapture solution template that will include a web experience app, and even it's created, the deployment process will fail for our users. Survey123 Web (based on Agular too) is also planning to adopt solution.js, this issue will potentially affect S123 in future.
2. The issue shows that Solution.js doesn't play well with Zone.js. QuickCapture Designer can't stop using zone.js because it's a core dependency of Angular.
2. Based on my testing, the deployment process will fail in Designer for all Web Experience when included in the solution item.
Cc: @MikeTschudi
Contributor guide
Assessment
This issue has not been assessed yet.