Same problem, same solution, but I can tell you more.
Originally I didi as @jentevh said copying all the files, but the project still wasn’t working so I made some tests and discovered that the file that was giving me troubles was angular.json, replacing that, everything worked fine!