You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, wonder if it has something to do with the Babel version. Can you take a look and see what version of Babel your using? As that's basically an error stating that the JSX loader/transformer isn't there.
@jdarling, I'm having a similar problem. I'm trying to use var D3RRC = require('d3rrc'); in my project (app.jsx) and when I run npm install I get something like:
ERROR in ./~/d3rrc/src/title.jsx
Module parse failed: .../node_modules/d3rrc/src/title.jsx Line 11: Unexpected token <
You may need an appropriate loader to handle this file type.
...
To install your package, I just did:
npm install d3rrc --save
and nothing else.
Regarding Babel, at the end of my package.json file, it has:
I'm a total newbie, so I don't really understand how this works. Should I have tried to do some sort of build of your package in my node_modules directory before trying to run npm install on my project?
Thanks for your help and for this great looking utility!
Ahh Babel 6, I haven't tried D3RRC with Babel 6. I'll see if I can get some time and look into that as I know all the changes will have broke something.
I got this error when I try to require('d3rrc') in my project
The text was updated successfully, but these errors were encountered: