~/.npmrc file Con proxy: proxy=http://username:password@host:port https-proxy=http://username:password@host:port https_proxy=http://username:password@host:port
Configurar VsCode con Proxy "http.proxy": "http://my.proxy.address:8080", "https.proxy": "http://my.proxy.address:8080", "http.proxyStrictSSL": false
-
Verificar instalacion node, npm
-
Actualizar npm, npm install -g npm@latest
-
Borrar la cache npm cache clean --force
-
Instalar react App template
- npm install -g create-react-app
-
Generar nuevo proyecto
-
npx create-react-app my-app --template typescript
-
Crear componente
-
npm i generate-react-cli
-
npx generate-react-cli component Box