Skip to content
Thomas Digby edited this page Dec 15, 2016 · 1 revision
  • When Node can't parse an object, or can't find a property, it'll throw a [ReferenceError: test is not defined], without a file/line number anywhere.
  • Node will throw a Cannot read property 'components' of undefined when it clearly can, is it called twice?

Debug: internal, implementation, error TypeError: Uncaught error: Cannot read property 'components' of undefined at loadPropsOnServer (/private/var/www/tapestry/node_modules/async-props/lib/AsyncProps.js:130:25) at /private/var/www/tapestry/src/server.js:94:11

  • Currently as Tapestry is using a different instance of glamor and react-helmet within its own node_modules the project specific server-rendered head and style is empty. This is fixed if the instance of the packages is the same, if Tapestry shares its node_modules with the parent project.
Clone this wiki locally