Usually when you are downgrading/upgrading Angular projects you have
to make sure that Angular CLI version matches Angular version and
Typescript version. More details here
In your case if you are downgrading to 1.0.0-beta.24
you have to use NodeJS v6.x
and make sure you are using Typescript v2.0.x
Also, when downgrading versions, make sure you removed node_modules
folder and package-lock.json
or yarn.lock
files if you have any in your project. Then run npm i
or yarn
to pull the old packages.
If you are having issues switching NodeJS versions try NVM
UPDATE:
The error you are getting might be related to connectivity issues. If you are behind the proxy try that:
npm config set proxy http://your.company.proxy.com:port
npm config set https-proxy http://your.compny.company.com:port