We’re already discussing that problem here: https://www.patreon.com/posts/scaffold-apache-12918005?cid=6126089 <https://www.patreon.com/posts/scaffold-apache-12918005?cid=6126089>
It works from the command line, so it seems like it’s an issue that’s connected to the VS Code extension. > On Jul 13, 2017, at 9:12 PM, PKumar <prashaku...@gmail.com> wrote: > > Hi Josh, > > I tried tried the yeoman & flexjs generator with VCode. Everything is > really good and working fine. One problem i am getting on creating mxml > component. when i am trying to create the new mxml then i am getting > exception. check the attached screen shot. > > > <http://apache-flex-development.2333347.n4.nabble.com/file/n63235/error1.png> > > _-----_ > | | ╭──────────────────────────╮ > |--(o)--| │ Let's create an │ > `---------´ │ MXML component │ > ( _´U`_ ) ╰──────────────────────────╯ > /___A___\ / > | ~ | > __'.___.'__ > ´ ` |° ´ Y ` > > Uncaught Exception: TypeError: Invalid property descriptor. Cannot both > specify accessors and a value or writable attribute, # > TypeError: Invalid property descriptor. Cannot both specify accessors and a > value or writable attribute, # > at Function.defineProperty (<anonymous>) > at new ErrorEXError (C:\Users\Prashant > Kumar\.vscode\extensions\samverschueren.yo-0.9.3\node_modules\error-ex\index.js:79:10) > at vscode_1.window.showQuickPick.then.result (C:\Users\Prashant > Kumar\.vscode\extensions\samverschueren.yo-0.9.3\out\prompts\list.js:20:23) > at Object.m [as _notify] (c:\Program Files (x86)\Microsoft VS > Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:41973) > at Object.enter (c:\Program Files (x86)\Microsoft VS > Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:45538) > at n.Class.derive._oncancel._run (c:\Program Files (x86)\Microsoft VS > Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:47366) > at n.Class.derive._oncancel._completed (c:\Program Files (x86)\Microsoft > VS > Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:46807) > at c:\Program Files (x86)\Microsoft VS > Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:63502 > at n.Class.derive._creator.done (c:\Program Files (x86)\Microsoft VS > Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:48667) > at Object.m [as _notify] (c:\Program Files (x86)\Microsoft VS > Code\resources\app\out\vs\workbench\node\extensionHostProcess.js:23:42115) > > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Yeoman-generator-tp63178p63235.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.