Olá pessoal,
Estou recebendo um erro ao executar npm start. No navegador recebo:
Failed to load resource: the server responded with a status of 404 (Not Found)
(index):48 (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/js/controllers/NegociacaoController
Error: XHR error (404 Not Found) loading http://localhost:3000/js/controllers/NegociacaoController
Error loading http://localhost:3000/js/controllers/NegociacaoController as "./controllers/NegociacaoController" from http://localhost:3000/js/app.js
No CMD recebo:
[0] 18:29:43 - Starting compilation in watch mode...
[0]
[1] Did not detect a `bs-config.json` or `bs-config.js` override file. Using lite-server defaults...
[1] ** browser-sync config **
[1] { injectChanges: false,
[1] files: [ './**/*.{html,htm,css,js}' ],
[1] watchOptions: { ignored: 'node_modules' },
[1] server: { baseDir: 'app', middleware: [ [Function], [Function] ] } }
[1] [Browsersync] Access URLs:
[1] ------------------------------------
[1] Local: http://localhost:3000
[1] External: http://192.168.0.7:3000
[1] ------------------------------------
[1] UI: http://localhost:3001
[1] UI External: http://localhost:3001
[1] ------------------------------------
[1] [Browsersync] Serving files from: app
[1] [Browsersync] Watching files...
[0]
[0] 18:29:47 - Found 0 errors. Watching for file changes.
[1] 19.02.25 18:29:47 304 GET /index.html
[1] 19.02.25 18:29:47 304 GET /css/bootstrap.css
[1] 19.02.25 18:29:47 304 GET /css/bootstrap-theme.css
[1] 19.02.25 18:29:47 304 GET /lib/jquery.min.js
[1] 19.02.25 18:29:47 304 GET /lib/system.js
[1] 19.02.25 18:29:48 200 GET /js/app.js
[1] 19.02.25 18:29:48 404 GET /js/controllers/NegociacaoController
[1] 19.02.25 18:29:51 304 GET /css/bootstrap.css
[1] 19.02.25 18:29:51 304 GET /css/bootstrap-theme.css
[1] 19.02.25 18:29:51 200 GET /lib/system.js.map
[1] 19.02.25 18:29:51 404 GET /css/bootstrap.css.map
[1] 19.02.25 18:29:51 404 GET /css/bootstrap-theme.css.map
Estou usando as mesmas versões da aula e o mesmo arquivo package.json. Todos os nomes dos arquivos também estão corretos.
Alguém sabe o por que desse erro?