codecrumbs: Error at getting repositorys

Looks like the path issue is fixed.

but now it throws an error at the dependecies option:

uncaught at reactByUpdatingFoldersState TypeError: Cannot read property ‘dependencies’ of undefined

on Tree.js

{dependenciesDiagramOn && selectedNode.dependencies && ( <DependenciesTree namespace={namespace}

_Originally posted by @Motytheultimate in https://github.com/Bogdan-Lyashenko/codecrumbs/issues/14#issuecomment-463325932_

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (10 by maintainers)

Most upvoted comments

Hm, interesting… yeah, makes sense, but still quite inconvenient) will see if I can fix it easily to resolve to correct file even when it starts from ./ Thanks 😃

@Motytheultimate yep, that was related to path separator as well, fixed in v 1.0.23 🙂

No, it should be fine with dependencies, if it fails - dependencies array just should be empty. Can you try to run with “-f true” extra param (fallback for ast parser), also, can you try to use another entry point? (it doesn’t really matter what file is set there)