ReferenceError: navigator is not defined at getChromeVersion (C:\Users\anton\workspace-typescript\typescript-curso-1\node_modules\concurrently\node_modules\supports-color\browser.js:5:68) at Object. (C:\Users\anton\workspace-typescript\typescript-curso-1\node_modules\concurrently\node_modules\supports-color\browser.js:14:22) at Module.compile (internal/modules/cjs/loader.js:1128:30) at Object.Module.extensions..js (internal/modules/cjs/loader.js:1167:10) at Module.load (internal/modules/cjs/loader.js:983:32) at Function.Module.load (internal/modules/cjs/loader.js:891:14) at Module.require (internal/modules/cjs/loader.js:1023:19) at require (internal/modules/cjs/helpers.js:72:18) at Object. (C:\Users\anton\workspace-typescript\typescript-curso-1\nodemodules\concurrently\src\get-spawn-opts.js:1:23) at Module._compile (internal/modules/cjs/loader.js:1128:30)
tsconfig
{ "compilerOptions": { "outDir": "dist/js", "target": "ES6", "noEmitOnError": true }, "include": ["app/*/"] }
package.json
{ "name": "alurabank", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "test": "echo "Error: no test specified" && exit 1", "server": "lite-server --baseDir=dist", "start": "concurrently "npm run watch" "npm run server"", "compile": "tsc", "watch": "tsc -w" }, "author": "", "license": "ISC", "devDependencies": { "concurrently": "^6.0.0", "lite-server": "^2.6.1", "typescript": "^4.2.2" } }