Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Meu terminal está dando esses erros quando vou compilar

`$ npm start

alurabank@1.0.0 start C:\Users\User\Desktop\Cursos Alura\TypeScript\alurabank concurrently "npm run watch" "npm run server"

[1] [1] ÔöîÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÉ [1] Ôöé npm update check failed Ôöé [1] Ôöé Try running with sudo or get access Ôöé [1] Ôöé to the local update config store via Ôöé [1] Ôöé sudo chown -R $USER:$(id -gn $USER) C:\Users\User.config Ôöé [1] ÔööÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÇÔöÿ [0] [0] > alurabank@1.0.0 watch C:\Users\User\Desktop\Cursos Alura\TypeScript\alurabank [0] > tsc -w [0] [0] 'tsc' n´┐¢o ´┐¢ reconhecido como um comando interno [0] ou externo, um programa oper´┐¢vel ou um arquivo em lotes. [0] npm [0] ERR! code ELIFECYCLE [0] npm ERR! errno 1 [0] npm [0] ERR! alurabank@1.0.0 watch: tsc -w [0] npm ERR! Exit status 1 [0] npm ERR! [0] npm [0] ERR! Failed at the alurabank@1.0.0 watch script. [0] npm ERR! This is probably not a problem with npm. There is likely additional logging output above. [0] [0] npm ERR! A complete log of this run can be found in: [0] npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2020-07-04T17_46_58_748Z-debug.log [0] npm run watch exited with code 1 [1] [1] > alurabank@1.0.0 server C:\Users\User\Desktop\Cursos Alura\TypeScript\alurabank [1] > lite-server --baseDir=app [1] [1] Did not detect a bs-config.json or bs-config.js override file. Using lite-server defaults... [1] * browser-sync config ** [1] { [1] injectChanges: false, [1] files: [ './**/.{html,htm,css,js}' ], [1] watchOptions: { ignored: 'node_modules' }, [1] server: { baseDir: 'app', middleware: [ [Function], [Function] ] } [1] } [1] [Browsersync] Access URLs: [1] ------------------------------------- [1] Local: http://localhost:3002 [1] External: http://192.168.56.1:3002 [1] ------------------------------------- [1] UI: http://localhost:3003 [1] UI External: http://localhost:3003 [1] ------------------------------------- [1] [Browsersync] Serving files from: app [1] [Browsersync] Watching files... [1] 20.07.04 14:47:02 200 GET /index.html [1] 20.07.04 14:47:02 200 GET /css/bootstrap-theme.css [1] 20.07.04 14:47:02 200 GET /css/bootstrap.css [1] 20.07.04 14:47:02 200 GET /lib/jquery.min.js [1] 20.07.04 14:47:02 200 GET /lib/system.js [1] 20.07.04 14:47:02 200 GET /js/app.js [1] 20.07.04 14:47:02 404 GET /favicon.ico [1] 20.07.04 14:47:03 200 GET /js/controllers/NegociacaoController.js [1] 20.07.04 14:47:03 200 GET /js/views/index.js [1] 20.07.04 14:47:03 200 GET /js/models/index.js [1] 20.07.04 14:47:03 200 GET /js/views/View.js [1] 20.07.04 14:47:03 200 GET /js/views/MensagemView.js [1] 20.07.04 14:47:03 200 GET /js/views/NegociacoesView.js [1] 20.07.04 14:47:03 200 GET /js/models/Negociacao.js [1] 20.07.04 14:47:03 200 GET /js/models/Negociacoes.js

`

2 respostas
solução!

Oi, Willian, tudo bem?

Pode ser que você não tenha instalado o concurrently. Você poderia compartilhar o teu arquivo package.json para darmos uma olhada nele?

com o concurrently funcionou agora, muito obrigado