-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No class names generated? #59
Comments
Looks a clear bug. probably there is no proper handling when class definition is empy. What happens if you add more content to class? Does example work for you? I’m on holiday so fix is coming a bit later. PR is also welcome :) |
Ok thanks! If i try the example this is the output (it doesn't save to a file):
|
Just tested on my macbook, it doesn't work here their, exactly the same results, device details: Catalina 10.15.6 |
Works on my PC 64bit win10 |
so it didn’t work with node v12 but works with node v10 ? I don’t think that OS causes this.. |
note that CI doesn’t validate currently node v12.. have to add it there as well |
I was not able to reproduce this issue yet with any node version. I added also node v12 to CI and same puml file you mention without luck. output looks correct to me: https://app.circleci.com/pipelines/github/jupe/puml2code/255/workflows/8573a73d-1c03-41a3-86ea-38bc13f2d4ea/jobs/778
Tried also with Mac. CI are running with linux. How did you install tool ? via npm or git clone.. ? |
I installed puml2code by git cloning the repository and then npm -i -g within the directory |
I have setup the puml2code project on my macbook, it runs correctly when ran in the development environment (VS Code). It must be something to do with the installation commands. edit 1: edit 2: edit 3: |
@Bambofy thanks for investigation help. Unfortunately I haven’t had time to test this more but thanks for you, I’ve now idea’s what to try next.. |
For me it gives the exact same error "
The second one:
I also tried installing it with |
##Description
When running the tool, the output code is incomplete, missing the class name.
Bug
debian 10 64bit.
node version v10.21.0
version 0.1.0
.puml file:
puml2code command:
puml2code -i class_diagram.puml -o ./src/ -l cpp
puml2code output
C++ code output 'Test.h':
The text was updated successfully, but these errors were encountered: