Adaptive form is breaking after deploying project code. | Community
Skip to main content
codingStar
Level 3
October 9, 2025

Adaptive form is breaking after deploying project code.

  • October 9, 2025
  • 1 reply
  • 312 views
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.

 

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.

 

 

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: 
 
 

1 reply

Adobe Employee
October 14, 2025

Hi,

Can you please provide the following information?

  1. AEM Version
  2. What do you mean by Site code deployment - can you mention the package name or any reference to it?

It would be great if you can provide the exact steps so we can check the same locally.

 

Thanks,

Pankaj Parashar