Git Product home page Git Product logo

typescript-call-graph's Issues

Browser just showing TypeScript-Call-Graph's own internal functions only - not the functions from my project

I've been trying to use tcg on both Windows + Linux, and no matter what filenames or wildcards I tell it to analyze it always just comes up with this in the browser:

2022-05-24_172944 - TypeScript Call Graph

Those are functions from the source code of TypeScript-Call-Graph itself, not my project.

The console output does list a bunch of my function names... so the analysis/backend does appear to be analyzing my code.. But for some reason the frontend is just displaying a graph for TypeScript-Call-Graph itself.

Class methods

This is great! Have you thought about adding support for methods on classes/objects?

Screenshots

Please share beautiful screenshots below ๐Ÿ™‡โ€โ™‚๏ธ

This repository is still WIP ๐Ÿšง feel free to suggest other visualizations (and visualization libraries) for this project ๐Ÿค

error cannot find module 'ejs'

node:internal/modules/cjs/loader:1215
  throw err;
  ^

Error: Cannot find module 'ejs'
Require stack:
- /usr/lib/node_modules/tcg/bin/tcg
    at Module._resolveFilename (node:internal/modules/cjs/loader:1212:15)
    at Module._load (node:internal/modules/cjs/loader:1038:27)
    at wrapModuleLoad (node:internal/modules/cjs/loader:212:19)
    at Module.require (node:internal/modules/cjs/loader:1297:12)
    at require (node:internal/modules/helpers:123:16)
    at Object.<anonymous> (/usr/lib/node_modules/tcg/bin/tcg:9:11)
    at Module._compile (node:internal/modules/cjs/loader:1460:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1544:10)
    at Module.load (node:internal/modules/cjs/loader:1275:32)
    at Module._load (node:internal/modules/cjs/loader:1091:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ '/usr/lib/node_modules/tcg/bin/tcg' ]
}

Node.js v22.3.0

This is what I got after installing it via sudo npm install -g, looks like an undeclared dependency.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.