Broken package.json
Opened this issue · 1 comments
G-Lex commented
Hi.
The current package.json will fail to produce a working app after running 'npm install', failing with the following error:
var ReactButton = React.createFactory(require('./ReactButton').ReactButton);
TypeError: Object function ReactJSShim() {
error();
} has no method 'createFactory'
I was able to get the app to run by removing the duplicate (but different version) references to react in dependencies and devDependencies and reinstalling with npm install --save, which brought them up to v.0.12.2.
I'm still only getting server side rendering though, as the table just sits there, without any sorting/filtering. There is an 'Invariant Violation' error in the console that says it's possibly due to loading react twice. Thanks!
vasco3 commented
node-jsx
should be in dependencies instead of devDependencies. It was breaking the build in my heroku instance because of that.