Closed janekolszak closed 7 years ago
I had to install bunch of modules to make it work.
How did you get past ... Module not found: Error: Cannot resolve module 'd3-svg-legend/no-extend'
Probably npm install d3-svg-legend
Really sorry that I don't have time to maintain this project, I'm no longer working with Gerrit on a daily basis for almost a year now. Any PRs to fix issues or building new features are very welcome!
The newer version of d3-svg-legend does not have no-extend. I had to down level to 1.13 to get past that error npm install d3-svg-legend@1.13
That said, I builds fine now but the java pge does not load. Too bad, this tool looks great. I suspect this is a case of new versions of modules not being fully compatible with each other.
Console...
TypeError: _this.props.history is undefined[Learn More] bundle.js:23556:8
GET
http://localhost/~causten/out-html/bootstrap.css.map [HTTP/1.1 404 Not Found 18ms]
Same here, index page is empty. Would want to know versions of all modules needed to make it work. Can someone help?
FInally able to make it work after spending ~4 hours. Installed d3@3 and react-router@3.0.2 which solved last few issues
@guneshwor Could you make a PR?
Sure.
I took a bit of time just now to take a look at these issues. @janekolszak, @causten, why do you have to install particular versions of the packages manually? ./gradlew assemble
should run the npm setup for you, and install all required packages in GerritStats/node_modules
directory. Is that not working?
Meanwhile, I committed a package-lock.json file to master, which should also help resolving any dependency issues. Please try that out and let me know if it works.
Thank you. I vote to close this issue as the problem is now fixed. If you are ever in Austin Texas, I'll buy you a drink.
Hi! Great project, thank you so much for sharing!
I get some warnings when running
npm install
in GerritStats:And then when running ./gerrit_stats.sh i get a looooot of
Module not found:
.