You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've got an app I'd like to see the dependency tree for. The 'entry point' file is named App.js and the top of App.js looks like:
var React = require('react');
var Router = require('react-router'); // or var Router = ReactRouter; in browsers
var Route = Router.Route;
var RouteHandler = Router.RouteHandler;
var Link = Router.Link;
var Dashboard = require('./Dashboard.js');
var SequenceEditor = require('./SequenceEditor.js');
var Skeleton = require('./Skeleton.js');
etc.
Unfortunately, none of the dependencies are showing up for app.
I've run:
dependo -f cjs ./app/App.js > report.html
With no success:
And: dependo -f cjs ./app > report.html
with some success:
I can't tell if there is a pattern of which require() statements it is picking up on and which it isn't. It seems a bit random to me: certain require statements get picked up in some files, but don't in others. Any help debugging this would be greatly appreciated. Thanks so much!
The text was updated successfully, but these errors were encountered:
I'm currently in the airport with limited connectivity. Can you try run https://github.com/pahen/madge and see if all your dependencies are detected? Dependo is build on top of Madge.
I ran it and am getting the same results. Guess I'll ask my issue on Madge
in that case.
On Jul 3, 2015 7:55 AM, "Kenneth Auchenberg" notifications@github.com
wrote:
I'm currently in the airport with limited connectivity. Can you try run https://github.com/pahen/madge and see if all your dependencies are
detected? Dependo is build on top of Madge.
—
Reply to this email directly or view it on GitHub #24 (comment).
Hey there,
I've got an app I'd like to see the dependency tree for. The 'entry point' file is named App.js and the top of App.js looks like:
Unfortunately, none of the dependencies are showing up for app.
I've run:
With no success:
And:
dependo -f cjs ./app > report.html
with some success:
I can't tell if there is a pattern of which require() statements it is picking up on and which it isn't. It seems a bit random to me: certain require statements get picked up in some files, but don't in others. Any help debugging this would be greatly appreciated. Thanks so much!
The text was updated successfully, but these errors were encountered: