-
Notifications
You must be signed in to change notification settings - Fork 35
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
Error: Unable To Determine Member Modifier Type #3
Comments
Could you provide your input file or a class similar. Something about your
input file must be different than the current sample one. That error gets
thrown in this unexpected input state.
…On Dec 30, 2016 2:03 PM, "Jim Lynch" ***@***.***> wrote:
When I run:
./bin/tplant.js -i ~/Git-Projects/t2-2/t2/CypherApp/src/app/app.
component.ts
I now get this error:
/Users/jameslynch/Git-Projects/tplant/src/typescriptToMeta.js:154
throw new Error("unable to determine member modifier type");
^
Error: unable to determine member modifier type
at getMemberModifierType (/Users/jameslynch/Git-Projects/tplant/src/typescriptToMeta.js:154:15)
at serializeMember (/Users/jameslynch/Git-Projects/tplant/src/typescriptToMeta.js:72:27)
at serializeClass (/Users/jameslynch/Git-Projects/tplant/src/typescriptToMeta.js:209:34)
at visit (/Users/jameslynch/Git-Projects/tplant/src/typescriptToMeta.js:47:25)
at visitEachNode (/Users/jameslynch/Git-Projects/tplant/node_modules/typescript/lib/typescript.js:13907:30)
at Object.forEachChild (/Users/jameslynch/Git-Projects/tplant/node_modules/typescript/lib/typescript.js:14078:24)
at generateDocumentation (/Users/jameslynch/Git-Projects/tplant/src/typescriptToMeta.js:27:16)
at module.exports (/Users/jameslynch/Git-Projects/tplant/src/typescriptToMeta.js:230:12)
at Object.<anonymous> (/Users/jameslynch/Git-Projects/tplant/bin/tplant.js:19:5)
at Module._compile (module.js:570:32)
tplant (master) ♘
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AClRg9klVrdaM_Dk6GdGOTDaG2NMWauqks5rNXGygaJpZM4LYY5U>
.
|
It does this for a lot of my files. For example this one:
|
I pushed version 1.0.4 which should work for your pasted sample above. There was a rudimentary check in place that was determining which files should be parsed that I updated to ignore any declaration files. |
nice! This one works for me! It's just printing out to the console though. Should I be creating a plantUml file? It would be awesome if it did. Or maybe another flag that creates the file right next to the specified typescript file. :) |
I will make a new issue to track that. Will add a |
When I run:
./bin/tplant.js -i ~/Git-Projects/t2-2/t2/CypherApp/src/app/app.component.ts
I now get this error:
The text was updated successfully, but these errors were encountered: