npm install lite-server@2.3.0 --save-dev
Segue detalhes do erro:
npm ERR! network timeout at: http://192.168.0.80:8080/lite-server
npm ERR! A complete log of this run can be found in:
npm ERR! /home/caroline/.npm/_logs/2020-03-28T22_26_35_946Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/home/caroline/.nvm/versions/node/v10.16.3/bin/node',
1 verbose cli '/home/caroline/.nvm/versions/node/v10.16.3/bin/npm',
1 verbose cli 'install',
1 verbose cli 'lite-server@2.3.0',
1 verbose cli '--save-dev' ]
2 info using npm@6.14.2
3 info using node@v10.16.3
4 verbose npm-session ee038f06cd37acec
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly fetchPackageMetaData error for lite-server@2.3.0 network timeout at: http://192.168.0.80:8080/lite-server
8 timing stage:rollbackFailedOptional Completed in 1ms
9 timing stage:runTopLevelLifecycles Completed in 160082ms
10 verbose type request-timeout
11 verbose stack FetchError: network timeout at: http://192.168.0.80:8080/lite-server
11 verbose stack at Timeout.setTimeout [as _onTimeout] (/home/caroline/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:61:18)
11 verbose stack at ontimeout (timers.js:436:11)
11 verbose stack at tryOnTimeout (timers.js:300:5)
11 verbose stack at listOnTimeout (timers.js:263:5)
11 verbose stack at Timer.processTimers (timers.js:223:10)
12 verbose cwd /home/caroline/Documentos/Alura/Typescript/01-alurabank/alurabank
13 verbose Linux 4.15.0-20-generic
14 verbose argv "/home/caroline/.nvm/versions/node/v10.16.3/bin/node" "/home/caroline/.nvm/versions/node/v10.16.3/bin/npm" "install" "lite-server@2.3.0" "--save-dev"
15 verbose node v10.16.3
16 verbose npm v6.14.2
17 error network timeout at: http://192.168.0.80:8080/lite-server
18 verbose exit [ 1, true ]