Skip to content

facing issue with frontend build #109

@harishgadde

Description

@harishgadde

/var/www/web# yarn prod
/var/www/web/.pnp.cjs:26008
Error.captureStackTrace(firstError);
^

Error: webpack tried to access webpack-cli (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.

Required package: webpack-cli (via "webpack-cli/package.json")
Required by: webpack@virtual:c3d627e448cea36ec85264a162cf3792622b669596d7f618fb0e27f854a00e3d7ca77ffb3ebd83966b276011f187a5005b0c19764c36332eff47748ddc3fe1c1#npm:5.80.0 (via /var/www/web/.yarn/virtual/webpack-virtual-e15eacc617/0/cache/webpack-npm-5.80.0-a28367a059-7b9229d644.zip/node_modules/webpack/bin/)

Ancestor breaking the chain: @cattr/frontend-application@workspace

can you help how to fix it

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions