Skip to content
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

TypeError: undefined is not a function #197

Open
josephrotella opened this issue Aug 29, 2016 · 3 comments
Open

TypeError: undefined is not a function #197

josephrotella opened this issue Aug 29, 2016 · 3 comments

Comments

@josephrotella
Copy link

In trying to run plato on windows 7, I'm encountering the following error, regardless of any (or no) command line parameters specified:

C:\Memento\Unified\Source\DeployableUnits\Unified\UnWebApp\Content>plato -r -d r
eport
C:\Program Files\nodejs\node_modules\plato\node_modules\typhonjs-escomplex-commo
ns\dist\transform\formats\markdown\FormatMarkdown.js:39
ject.getPrototypeOf(FormatMarkdown).call(this, Object.assign(Object.assign({},
^
TypeError: undefined is not a function
at new FormatMarkdown (C:\Program Files\nodejs\node_modules\plato\node_modul
es\typhonjs-escomplex-commons\dist\transform\formats\markdown\FormatMarkdown.js:
39:117)
at Object. (C:\Program Files\nodejs\node_modules\plato\node_modul
es\typhonjs-escomplex-commons\dist\transform\TransformFormat.js:344:27)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (C:\Program Files\nodejs\node_modules\plato\node_modul
es\typhonjs-escomplex-commons\dist\module\report\AbstractReport.js:9:24)
at Module._compile (module.js:460:26)

Any ideas on what I'm doing wrong?

@Chintanvpatel
Copy link

@josephrotella , I was facing same issue with NodeJS 0.12 version. But when i upgraded version to 5.0 then issue is not coming.

@josephrotella
Copy link
Author

Thank You, Chintan!
That resolved the problem
Best regards-
Joe

-----------------------------------------From: "Chintan V. Patel" 

To: "es-analysis/plato"
Cc: "JoeR", "Mention"
Sent: Tue, 06 Sep 2016 04:05:08 -0700
Subject: Re: [es-analysis/plato] TypeError: undefined is not a
function (#197)

@josephrotella [1] , I was facing same issue with NodeJS 0.12

version. But when i upgraded version to 5.0 then issue is not coming.

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub [2], or mute the
thread [3].
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/es-analysis/plato","title":"es-analysis/plato","subtitle":"GitHub
repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open
[4] in
GitHub","url":"https://github.com/es-analysis/plato"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Chintanvpatel
[5] in #197: @josephrotella , I was facing same issue with NodeJS 0.12
version. But when i upgraded version to 5.0 then issue is not
coming."}],"action":{"name":"View
Issue","url":"https://github.com/es-analysis/plato/issues/197#issuecomment-244918448"}}}
[6]

Links:

[1] https://github.com/josephrotella
[2]
#197 (comment)
[3]
https://github.com/notifications/unsubscribe-auth/ANLER3DhSSPXsgno_ONBtdTAAuAaeWgBks5qnUjkgaJpZM4JvrC3
[4]
https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png
[5] https://github.com/es-analysis/plato
[6]
#197 (comment)

@josephrotella
Copy link
Author

Thank you!! That resolved the issue for me as well.

From: Chintan V. Patel [mailto:notifications@github.com]
Sent: Tuesday, September 6, 2016 7:05 AM
To: es-analysis/plato
Cc: JoeR; Mention
Subject: Re: [es-analysis/plato] TypeError: undefined is not a function (#197)

@josephrotella https://github.com/josephrotella , I was facing same issue with NodeJS 0.12 version. But when i upgraded version to 5.0 then issue is not coming.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #197 (comment) , or mute the thread https://github.com/notifications/unsubscribe-auth/ANLER3DhSSPXsgno_ONBtdTAAuAaeWgBks5qnUjkgaJpZM4JvrC3 . https://github.com/notifications/beacon/ANLER6mCPFmJuA0x9AxuLJP8VsVWDBgAks5qnUjkgaJpZM4JvrC3.gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants