mattdesl / budo

:clapper: a dev server for rapid prototyping
MIT License
2.18k stars 106 forks source link

Uncaught console errors #205

Closed JulesLabs closed 6 years ago

JulesLabs commented 7 years ago

After spinning up the budo server, I get a multitude of errors in the JavaScript console, which make it extremely difficult to read the program's console.log() 's and stuff. Here is the chain of errors I get:

browser-polyfill.js:590 Uncaught (in promise) Object {message: "The message port closed before a reponse was received."}
callbackArgs @ browser-polyfill.js:590
sendResponseAndClearCallback @ VM578 extensions::messaging:345
disconnectListener @ VM578 extensions::messaging:369
EventImpl.dispatchToListener @ VM571 extensions::event_bindings:388
publicClassPrototype.(anonymous function) @ VM577 extensions::utils:149
EventImpl.dispatch_ @ VM571 extensions::event_bindings:372
EventImpl.dispatch @ VM571 extensions::event_bindings:394
publicClassPrototype.(anonymous function) @ VM577 extensions::utils:149
dispatchOnDisconnect @ VM578 extensions::messaging:306
browser-polyfill.js:590 Uncaught (in promise) Object {message: "The message port closed before a reponse was received."}
callbackArgs @ browser-polyfill.js:590
sendResponseAndClearCallback @ VM578 extensions::messaging:345
disconnectListener @ VM578 extensions::messaging:369
EventImpl.dispatchToListener @ VM571 extensions::event_bindings:388
publicClassPrototype.(anonymous function) @ VM577 extensions::utils:149
EventImpl.dispatch_ @ VM571 extensions::event_bindings:372
EventImpl.dispatch @ VM571 extensions::event_bindings:394
publicClassPrototype.(anonymous function) @ VM577 extensions::utils:149
dispatchOnDisconnect @ VM578 extensions::messaging:306
browser-polyfill.js:590 Uncaught (in promise) Object {message: "The message port closed before a reponse was received."}
callbackArgs @ browser-polyfill.js:590
sendResponseAndClearCallback @ VM578 extensions::messaging:345
disconnectListener @ VM578 extensions::messaging:369
EventImpl.dispatchToListener @ VM571 extensions::event_bindings:388
publicClassPrototype.(anonymous function) @ VM577 extensions::utils:149
EventImpl.dispatch_ @ VM571 extensions::event_bindings:372
EventImpl.dispatch @ VM571 extensions::event_bindings:394
publicClassPrototype.(anonymous function) @ VM577 extensions::utils:149
dispatchOnDisconnect @ VM578 extensions::messaging:306
browser-polyfill.js:590 Uncaught (in promise) Object {message: "The message port closed before a reponse was received."}

The command I'm running is just simply: budo app.js --live, but in the package.json file I also have a field for transforms:

  "browserify": {
    "transform": ["brfs"]
  }
mattdesl commented 7 years ago

I'm not sure what's going on here, from what I can tell none of budo's dependencies include a file called browser-polyfill.js so I'm not even sure where that's coming from. Is this in the terminal or Chrome DevTools console?

mattdesl commented 6 years ago

Closing due to inactivity. Feel free to comment if you have a specific way to reproduce this. :smile: