Skip to content

Decorators causes Gatsby to crash #129

@rossPatton

Description

@rossPatton

Was hoping to use https://github.com/FormidableLabs/radium with gatsby to make hover states and media queries much easier, but attempting to use the @radium decorator causes gatsby to choke.

when I remove the decorator gatsby works

edit: posted the wrong err

Debug: internal, implementation, error
    Error: Uncaught error
  at Object.exports.create (/Users/rosspatton/.nvm/versions/node/v4.1.0/lib/node_modules/gatsby/node_modules/hapi/node_modules/boom/lib/index.js:21:17)
  at Object.exports.internal (/Users/rosspatton/.nvm/versions/node/v4.1.0/lib/node_modules/gatsby/node_modules/hapi/node_modules/boom/lib/index.js:254:92)
  at Object.exports.badImplementation (/Users/rosspatton/.nvm/versions/node/v4.1.0/lib/node_modules/gatsby/node_modules/hapi/node_modules/boom/lib/index.js:290:23)
  at _error (/Users/rosspatton/.nvm/versions/node/v4.1.0/lib/node_modules/gatsby/node_modules/hapi/lib/protect.js:53:28)
  at Domain.<anonymous> (/Users/rosspatton/.nvm/versions/node/v4.1.0/lib/node_modules/gatsby/node_modules/hapi/lib/protect.js:27:20)
  at emitOne (events.js:77:13)
  at Domain.emit (events.js:169:7)
  at Domain.errorHandler [as _errorHandler] (domain.js:84:19)
  at process._fatalException (node.js:208:33)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions