Expand my Community achievements bar.

SOLVED

Creating ui.fronted in existing project

Avatar

Level 3

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.

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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