Code Monkey home page Code Monkey logo

Comments (9)

adityavm avatar adityavm commented on July 28, 2024 2

@Bogdan-Lyashenko confirmed. works well. thank you!

from codecrumbs.

adityavm avatar adityavm commented on July 28, 2024 1

@Bogdan-Lyashenko feel free to email me / ping me here if you need me to test out pre-release versions. codecrumbs looks super useful, so happy to help however πŸ‘

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on July 28, 2024

Hi, can you check browser console in devtools, probably there is an uncaught error. Also, can you please show your command how do you run it? (codedrumbs params). Also, which version do you use, please make sure it’s latest. Thanks. :)

from codecrumbs.

adityavm avatar adityavm commented on July 28, 2024

@Bogdan-Lyashenko no errors in the console:
console

and here's the command to run it. i've tried various entry points, none of them work:

command

(i've also tried it with a global codecrumbs installation, still doesn't work)

and the version is 1.1.1 (it's in the bottom left of the first screenshot πŸ™‚)

to add some more debug information (probably relevant), the React containers seem to be halting at this

if (!namespace) {
return {};
}

shown by the lack of children in the ExplorerBarContainer and SideBarContainer:

no children

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on July 28, 2024

@adityavm for what project are you running codecrumbs?
Let's do this example to see how everything works:

  1. clone/download to your computer this project https://github.com/lucasbento/react-redux-todo (just as simple example)
  2. install codecrumbs - yarn global add codecrumbs
  3. go to the folder react-redux-todo (where you copied project from step 1)
  4. run codecrumbs -d src -e src/index.js
  5. go to the browser url http://localhost:2018 to see if it works

let me know if this works and then we can continue from there. Most likely it's something with paths how do you run it, but I definitely should add more logs to track where it gets stuck 😸
Thanks for your help πŸ™‚

from codecrumbs.

adityavm avatar adityavm commented on July 28, 2024

@Bogdan-Lyashenko it's a personal project. react-redux-todo works fine.
react-redux-todo

i also thought that it might be because of paths, however logging the paths from the different parser scripts seems to output the correct full path (second screenshot in this thread). i use absolute module paths, like:

import Something from "component/Something";

could that be an issue?

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on July 28, 2024

import Something from "component/Something";
could that be an issue?
No, it should be fine, it might not be resolved by dependencies tree builder (Dependencies tab on UI) but it will not affect the entire picture.

So you ran codecrumbs for your project in the exact same way as you just did for react-redux-todo and it still doesn't work. That's super interesting... πŸ‘€ Alright, I will go through setup and add more error handling and logs. But basically, I assume it doesn't init here
https://github.com/Bogdan-Lyashenko/codecrumbs/blob/master/src/server/project-source/index.js#L75.

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on July 28, 2024

@adityavm hi there πŸ™‚ I just pushed version with extra logs. When you have a free minute, can you please update to v1.1.2 (or higher) and run it again? So I covered with logs file structure parsing and also added log to browser to see what you are receiving in the end. Let's see 😸

from codecrumbs.

Bogdan-Lyashenko avatar Bogdan-Lyashenko commented on July 28, 2024

@adityavm try v1.1.4, should be golden now 😸

from codecrumbs.

Related Issues (20)

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.