Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Not able to build AEM project in local because of below error

Avatar

Level 4

monish7_0-1690381474625.png

 

1 Accepted Solution

Avatar

Correct answer by
Level 2

Change directory to ui.frontend folder and run following command to make sure all node dependencies are installed and there are no error

npm install

 

There are also direct package.json script. It should be 

npm run dev

 

 

 

 

View solution in original post

3 Replies

Avatar

Community Advisor

Did you try to run "npm install" in the ui.frontEnd module firstly? Also, can you verify that you are using the node & npm versions the project you are running support?



Esteban Bustamante

Avatar

Community Advisor

I see you are using onedrive directory. Sometime onedrive takes time to sync files and it causes issue. Can you please try outside onedrive folder like C or D Drive and see if same behavior is observed? 

Avatar

Correct answer by
Level 2

Change directory to ui.frontend folder and run following command to make sure all node dependencies are installed and there are no error

npm install

 

There are also direct package.json script. It should be 

npm run dev