I have cloned the repo of pre-registration-ui and as per the documentation (README) I run the following commands.
npm install / npm install --force
ng serve
after installing all the dependencies and running the server, it stops automatically and gives this error.
Workspace extension with invalid name (defaultProject) found.
Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package.
I tried to configure the project (as per the documentation) but not able to run it on my localhost.
I have tried the above solution but not getting any results. I have cloned two repositories.
Pre-Registration-UI
Pre-Registration-UI-Develop (develop branch)
The Develop branch is working fine and opening in localhost:4200 with a loading screen. In this I have downgraded the version of angular to 13 which is supported with the node and npm version 14.17.3 because if I not then it will throw an error which says Upgrade your angular version.
After running the command ng server it works perfectly.
The problem is comming with the Pre-Registration-UI (not develop branch). I have already installed the supported versions of Node, NPM and Angular but when I run the command ng serve it will throw error.
Could not find the '@angular-devkit/build-angular:dev-server' builder's node package.
This error is comming when I try to run the project.
Also, please suggest me which repository I have to follow for the Pre-Registration part with the branch name.