Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Adaptive form is breaking after deploying project code.

Avatar

Level 4
Hi,

I am integrating AEM Adaptive form on existing AEM as a cloud site.
I have created two adaptive form for testing purpose in local aem instance without existing site code
  1. Adaptive form with Foundation component
  2. Adaptive form with core components
and both are working as expected but after deploying the site code its start breaking in author mode and on browser console I see below error.
codingStar_1-1760036902008.png

 

page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:7 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
at new TimewarpLayer (page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:7:360)
at ns.init (core.lc-c4bfc1318c80270bd84115fb22e49be8-lc.min.js:1137:258)
at page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:19:337
at page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:20:146
TimewarpLayer @ page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:7
ns.init @ core.lc-c4bfc1318c80270bd84115fb22e49be8-lc.min.js:1137
(anonymous) @ page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:19
(anonymous) @ page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:20Understand this error
page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:7 Uncaught TypeError: Cannot read properties of null (reading 'querySelector')
at new TimewarpLayer (page.lc-d0589488cff0bf9ff3fa3c02f0a052ef-lc.min.js:7:360)
at ns.init (core.lc-c4bfc1318c80270bd84115fb22e49be8-lc.min.js:1137:258)
at form-v2.lc-9b15ac0eba1f0e232cf3fc8835614b0f-lc.min.js:2408:8
at form-v2.lc-9b15ac0eba1f0e232cf3fc8835614b0f-lc.min.js:2426:2

 

After some investigation I found that one the component have clientlib folder and it have dependencies as: cq.authoring.editor.sites.page  and If I remove this dependency form is working as expected.

codingStar_0-1760036224923.png

 

 

But I cant figure out how clientlib impacting to the adaptive form authoring even both are independent I am not integrating form in AEM page. 
for url: 
 
 
0 Replies