Expand my Community achievements bar.

Adobe Summit is live! Tune in to take part in the premier digital experience event.
SOLVED

Frontend pipeline Build Error

Avatar

Level 1

[BUILD] Running git clone command(s)
Cloning into 'test'...


Executing command git fetch


Executing command git checkout feature/final-fix-ui.frontend
Switched to a new branch 'feature/final-fix-ui.frontend'
Branch 'feature/final-fix-ui.frontend' set up to track remote branch 'feature/final-fix-ui.frontend' from 'origin'.


[BUILD] Running git change-log command(s)
[BUILD] Running npm audit command(s)
Executing command npm --progress false audit --production --audit-level=critical
npm ERR! Cannot read property 'jquery' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2025-03-18T08_03_57_499Z-debug.log

On running the frontend pipeline, im getting the above error, this happens to all the dependencies added in the package.json 

Any insights?
Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@VivekNa3 ,

Can you please check the node version? 

The issue can be related to the Node.js version. If your Node.js version is outdated or incompatible with the dependencies in your project, it may cause errors like "Cannot read property 'jquery' of undefined".

Please share your further insight.

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@VivekNa3 ,

Can you please check the node version? 

The issue can be related to the Node.js version. If your Node.js version is outdated or incompatible with the dependencies in your project, it may cause errors like "Cannot read property 'jquery' of undefined".

Please share your further insight.