git clone https://github.com/<user>/<project>.git
git config -l
http.proxy
, con:
git config --global --unset http.proxy
http.proxy
con el proxy http://david.espol.edu.ec:8080
, con:
git config --global --add http.proxy http://david.espol.edu.ec:8080
npm i
o npm start
“JavaScript heap out of memory”
npm install @angular/cli
npm config set proxy <URL-PROXY>
npm config set https-proxy <URL-PROXY>
ng
npm install @angular/cli
npm config get prefix
PATH
ng serve
Can't resolve '../yyy/zzz/image.jpg' in file ...
'../assets/yyy/zzz/image.jpg'
) por la ruta dentro del proyecto ('assets/yyy/zzz/image.jpg'
)ng serve
Problema:
"Property has no initializer and is not definitely assigned in the constructor"
Solución:
!
navbar!: Navbar;
ng add @angular/pwa
npm uninstall -g angular-cli
npm cache clean
npm install -g angular-cli@latest