Skip to content

Instantly share code, notes, and snippets.

@bryanlarsen
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanlarsen/801420d8092c881c4993 to your computer and use it in GitHub Desktop.
Save bryanlarsen/801420d8092c881c4993 to your computer and use it in GitHub Desktop.
trying to use react master
vagrant@precise64:/vagrant$ npm install git://github.com/facebook/react.git --save
[...]
vagrant@precise64:/vagrant$ npm test
> rapid-react@0.0.1 test /vagrant
> jest
Found 2 matching tests...
FAIL __tests__/CheckboxWithLabel-test.js (0.095s)
◠CheckboxWithLabel › it changes the text after click
- Throws: Error: /vagrant/node_modules/react-tools/npm-react/addons.js: Cannot find module './lib/ReactWithAddons' from '/vagrant/node_modules/react-tools/npm-react/addons.js'
PASS __tests__/sum-test.js (0.034s)
1 test failed, 1 test passed (2 total)
Run time: 2.283s
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
vagrant@precise64:/vagrant$ cd node_modules/react-tools
vagrant@precise64:/vagrant/node_modules/react-tools$ grunt build
[...]
vagrant@precise64:/vagrant/node_modules/react-tools$ cd ../..
vagrant@precise64:/vagrant$ npm test
> rapid-react@0.0.1 test /vagrant
> jest
Found 2 matching tests...
vagrant@precise64:/vagrant$ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment