I clone a repository on my laptop which I had created this source one month ago from another computer. My project was successful and that didn't have any kind of error one month ago. but today after I cloned the repository in new computer i faced with some errors.
Actually I wrote npm i
for installing packages then i tried to build my project via ng build
but these error happend:
Local workspace file ('angular.json') could not be found. Error: Local workspace file ('angular.json') could not be found.
someone suggest me to delete npm
and npm-cache
from AppData\Roaming
and delete package-lock.json
from the src
directory, then install package again. but this solution doesn't work.