Segue o package.json.
{
"name": "alurabank",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"compile": "tsc",
"start": "tsc -w",
"server": "lite-server --baseDir=app"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@types/jquery": "^2.0.42",
"lite-server": "^2.3.0",
"typescript": "^2.3.2"
}
}
Segue o resultado do log no console após o comando.
horacio@JVN60102183:~/workspace/alurabank$ npm start
> alurabank@1.0.0 start /home/horacio/workspace/alurabank
> tsc -w
12:28:40 - Compilation complete. Watching for file changes.
^Choracio@JVN60102183:~/workspace/alurabank$ npm run server
> alurabank@1.0.0 server /home/horacio/workspace/alurabank
> lite-server --baseDir=app
Did not detect a `bs-config.json` or `bs-config.js` override file. Using lite-server defaults...
** browser-sync config **
{ injectChanges: false,
files: [ './**/*.{html,htm,css,js}' ],
watchOptions: { ignored: 'node_modules' },
server: { baseDir: 'app', middleware: [ [Function], [Function] ] } }
[Browsersync] Access URLs:
------------------------------------
Local: http://localhost:3000
External: http://10.80.80.84:3000
------------------------------------
UI: http://localhost:3001
UI External: http://localhost:3001
------------------------------------
[Browsersync] Serving files from: app
[Browsersync] Watching files...
Também tive problema com a instalação do lite-server. Utilizo SO Kubuntu 19.04.
https://gist.github.com/juceliohv/8e90c6511d6f17363eb2d6876d037615