Skip to content

Commit

Permalink
Add shinkrwraps, fails locally
Browse files Browse the repository at this point in the history
Probably not related to the react version

Encountered error: "TypeError: Cannot read property 'name' of undefined"
when prerendering HelloWorldWithLogAndThrow with props:
{"helloWorldData":{"name":"Mr. Server Side Rendering"}}
js_code was:
(function() {
  var props = {"helloWorldData":{"name":"Mr. Server Side Rendering"}};
  return ReactOnRails.serverRenderReactComponent({
    name: 'HelloWorldWithLogAndThrow',
    domNodeId: 'HelloWorldWithLogAndThrow-react-component-0',
    props: props,
    trace: true,
    location: '/server_side_log_throw_raise'
  });
})()

Object.<anonymous> ((execjs):27066:58)
Object.<anonymous> ((execjs):27075:31)
__webpack_require__ ((execjs):31:30)
Object.<anonymous> ((execjs):26981:15)
__webpack_require__ ((execjs):31:30)
Object.<anonymous> ((execjs):5355:24)
__webpack_require__ ((execjs):31:30)
Object.<anonymous> ((execjs):59:19)
__webpack_require__ ((execjs):31:30)
(execjs):51:18
  • Loading branch information
justin808 committed Jan 31, 2016
1 parent 519fba5 commit d1b44d6
Show file tree
Hide file tree
Showing 2 changed files with 4,270 additions and 1 deletion.
178 changes: 177 additions & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1b44d6

Please sign in to comment.