Creating ui.fronted in existing project | Community
Skip to main content
Level 2
March 23, 2024
Solved

Creating ui.fronted in existing project

  • March 23, 2024
  • 2 replies
  • 735 views

Hi,

 

I am creating new ui.frontend module in the existing project. i have copied the ui.frontend module from other project and made some changes to ui.frontend/pom.xml and parent pom.xml I have made some changes but still build is getting failed. 

 

[webpack-cli] Failed to load '\ui.frontend\webpack.prod.js' config
[ERROR] [webpack-cli] \ui.frontend\node_modules\eslint-webpack-plugin\node_modules\jest-worker\build\index.js:110
[ERROR] _ending;

 

I tried to uninstall the node module and package-lock.json file and run the mvn clean install.  

 

sometimes I am getting refused to delete the node_moduel 

 

can any help me on this.

 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jagadeesh_Prakash

Hi @naveen_27_05 

 

By the error it is clear the you have version compatability with node modules

 

When you copied some existing ui.frontend modules to the project. You need to take care of Node versions which were earlier used. And also try deleting the node modules using administration account or open cmd prompt with admin and delete it via commands 

 

Hope this helps

2 replies

Saravanan_Dharmaraj
Community Advisor
Community Advisor
March 25, 2024

@naveen_27_05 Try to see if this blog helps in cleaning up the node modules and then please try again. 

https://medium.com/@aungmo/free-up-disk-space-a-step-by-step-guide-to-removing-node-modules-folders-in-powershell-fedb3de73eed

 

Jagadeesh_Prakash
Community Advisor
Jagadeesh_PrakashCommunity AdvisorAccepted solution
Community Advisor
March 25, 2024

Hi @naveen_27_05 

 

By the error it is clear the you have version compatability with node modules

 

When you copied some existing ui.frontend modules to the project. You need to take care of Node versions which were earlier used. And also try deleting the node modules using administration account or open cmd prompt with admin and delete it via commands 

 

Hope this helps