Error
TypeError: C:\virtualShowrooms\nodes_projects\Stocklist framework\views\309\details.ejs:292
290| <h2>Included</h2>
291| <div class="wrapper">
>> 292| <% if (response[0].specs.length > 0) { // SMS Customer
293| const specGroupClass = "spec_group";
294| for (let i = 0; i < response[0].specs.length; i++) { %>
295| <div class="<%= specGroupClass %>">
Cannot read properties of undefined (reading 'length')
at eval (eval at compile (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:673:12), <anonymous>:547:29)
at details (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:703:17)
at tryHandleCache (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:274:36)
at exports.renderFile [as engine] (C:\virtualShowrooms\nodes_projects\node_modules\ejs\lib\ejs.js:491:10)
at View.render (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\view.js:135:8)
at tryRender (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\application.js:657:10)
at Function.render (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\application.js:609:3)
at ServerResponse.render (C:\virtualShowrooms\nodes_projects\node_modules\express\lib\response.js:1039:7)
at detailsView (C:\virtualShowrooms\nodes_projects\Stocklist framework\controllers\stocklistController.js:496:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)