componentjs / builder2.js

builder for component
50 stars 20 forks source link

Better error messges on syntax (and hopefully other) errors #59

Closed lightsofapollo closed 10 years ago

lightsofapollo commented 10 years ago

When the build is working life is great (particularly with the middleware setup to build with the refresh workflow) but every so often I end up staring at this:

       build : resolved in 42ms
       build : files in 22ms

       error : undefined

So far this always seems to be some syntax error... I am 90% sure that the error exists somewhere and it can be reported up to the CLI and it should.

queckezz commented 10 years ago

not relevant to builder2 but fixed in component/console@1.1.2.

gnimmelf commented 10 years ago

Does look NOT fixed in component/console@1.1.2.

'component-consoler'.fatal still misses the vital error imformation.

This is pretty critical, please reopen and fix, even if you just `console.error' it out.

timaschew commented 10 years ago

@gnimmelf can you try to explain how to reproduce the error?

gnimmelf commented 10 years ago

As in @lightsofapollo's post above; most annoying and common is on syntax errors in local components.