Closed Kasea closed 5 years ago
There was a fairly large re-factor that went out in 2.1.5 that introduced a lot of classes instead of the single scripts which existed previously.
How do you run tplant
? The following worked for me.
node dist/index.js --input sample/Classes/Greeter.ts
@startuml
class Greeter {
+greeting: string
+prefix: string
+greet(prefix?: string): string
+greet(): string
}
@enduml
We need to add bundling with webpack or some other tool and setup a better method of distribution.
Looks like something went wrong in Travis CI. @bafolts can you take a look if the key configured in Travis is still valid? I'll manually publish the version 2.1.6.
I found the problem, fixed it and publish the version 2.1.8. @Kaseaa The error should be gone now. @bafolts please take a look in the Travis configuration. It's failing to deploy.
BTW, thanks for reporting the problem @Kaseaa
No problem, glad to see swift response.
The recent commit 2 days ago (as of this writing) cb68f529491dabda19fe9e2ff3284ad80e8b2b30 has a bug which leads to the following error upon trying to use
tplant
anything.Installing version 2.1.4 fixes the issue.
OS: Windows 10 64-bit Version: 1803. Build: 17134.81 NPM: 6.4.1 Node: 11.4.0