Comments (9)
@Bogdan-Lyashenko confirmed. works well. thank you!
from codecrumbs.
@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.
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.
@Bogdan-Lyashenko no errors in the console:
and here's the command to run it. i've tried various entry points, none of them work:
(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
codecrumbs/src/public/js/components/sideBar/SideBarContainer.js
Lines 19 to 21 in 7720104
shown by the lack of children in the ExplorerBarContainer and SideBarContainer:
from codecrumbs.
@adityavm for what project are you running codecrumbs?
Let's do this example to see how everything works:
- clone/download to your computer this project https://github.com/lucasbento/react-redux-todo (just as simple example)
- install codecrumbs -
yarn global add codecrumbs
- go to the folder react-redux-todo (where you copied project from step 1)
- run
codecrumbs -d src -e src/index.js
- 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.
@Bogdan-Lyashenko it's a personal project. react-redux-todo
works fine.
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.
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.
@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.
@adityavm try v1.1.4, should be golden now πΈ
from codecrumbs.
Related Issues (20)
- Corrupted Content Error HOT 12
- [IDEA] Think about usage of js-callgraph project HOT 1
- Codecrumb number gets cut off
- Highlighting problem with React Syntax
- Highlighting and Auto-Focus in Code and Crumbs section of sidebar
- Change metaKey to something more cross-OS friendly HOT 1
- Java project doesnt work HOT 6
- Reason/OCaml Support HOT 1
- Cannot parse certain ES6+ syntaxes HOT 1
- Can not access the url http://localhost:2018/ HOT 1
- Customizing Flow Chart HOT 2
- add support for codecrumbs.config.js file (as alternative to CLI params) HOT 1
- Dependencies are not resolved at all. HOT 9
- Add usage of React.memo to UI components (to reduce number of redundant re-renders)
- Add e2e tests with testcafe
- codecrumbs with -i ide feature HOT 8
- Swift and ObjectiveC support
- Client can't connect to server in WSL environment HOT 2
- How to configure codecrumbs to work with Typescript project? HOT 4
- Codecrumbs hasn't launched on Python project HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codecrumbs.