reactcards icon indicating copy to clipboard operation
reactcards copied to clipboard

Babel dependency problem in test/setup.js

Open bill-kidwell opened this issue 9 years ago • 3 comments

I get an error in test/setup.js when I run npm test, indicating that it cannot find babel-register.

bill-kidwell avatar Jun 02 '16 13:06 bill-kidwell

This pull request should address the problem. https://github.com/steos/reactcards/pull/15

bill-kidwell avatar Jun 02 '16 13:06 bill-kidwell

Thanks @bill-kidwell. We'll take a look at the pr tomorrow.

busypeoples avatar Jun 05 '16 20:06 busypeoples

Not sure why babel-register can't be found.

babel-core/register does exactly that, require babel-register

module.exports = require("babel-register");

https://github.com/babel/babel/blob/master/packages/babel-core/register.js#L3

busypeoples avatar Aug 04 '16 21:08 busypeoples