Post Reply 
Author yeoman ariatemplates generator
Roman
Member

Find all posts by this user
Quote this message in a reply
Default  30 April 2015 02:00
Dear All,

I have tried to use yeoman with ariatemplates generator as described here:
http://ariatemplates.com/blog/2013/07/ge...affolding/
but without success Sad.

I encounter problem while running yo (the output is below).

I am pretty new to this stuff, so I would be grateful if you could give me a hint what is wrong.
Please let me know if more info about my environment. At the moment I have
npm 2.5.1
node v0.12.0
grunt-cli v0.1.13
grunt v0.4.5
bower 1.4.1

Regards,

Roman

putanowr@tomi:/tmp/UUU$ yo ariatemplates

_-----_
| |
|--(o)--| .--------------------------.
`---------´ | Welcome to Yeoman, |
( _´U`_ ) | ladies and gentlemen! |
/___A___\ '__________________________'
| ~ |
__'.___.'__
´ ` |° ´ Y `

[?] What do you want to call your application? myapp
create package.json
create bower.json
create Gruntfile.js
create .editorconfig
create .jshintrc
create .bowerrc
create .gitignore
/space/install/lib/node_modules/generator-ariatemplates/app/lib/atnode.js:166
atContext.Aria.load({
^
TypeError: undefined is not a function
at Object.exports.loadAriaTemplates (/space/install/lib/node_modules/generator-ariatemplates/app/lib/atnode.js:166:20)
at AriatemplateGenerator.loadAria (/space/install/lib/node_modules/generator-ariatemplates/app/index.js:217:28)
at /space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/lib/base.js:290:20
at /space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/node_modules/async/lib/async.js:551:21
at /space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/node_modules/async/lib/async.js:227:13
at iterate (/space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/node_modules/async/lib/async.js:134:13)
at /space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/node_modules/async/lib/async.js:145:25
at /space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/node_modules/async/lib/async.js:229:17
at /space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/node_modules/async/lib/async.js:556:34
at /space/install/lib/node_modules/generator-ariatemplates/node_modules/yeoman-generator/lib/base.js:278:11
divdavem
AT core team member

Find all posts by this user
Quote this message in a reply
Default  30 April 2015 10:24
Hello Roman,

Thank you for reporting this issue.
It is due to a missing file in the npm package of Aria Templates. I have fixed the problem in this commit: https://github.com/ariatemplates/ariatem...a01dde7e6.
The fix will be integrated in the next version of Aria Templates (version 1.7.7, planned for May 15th).

In the mean time, the following command should make your local copy of generator-ariatemplates work:

cp /space/install/lib/node_modules/generator-ariatemplates/node_modules/ariatemplates/build/target/bootstrap/aria/core/useragent/ua-parser.js /space/install/lib/node_modules/generator-ariatemplates/node_modules/ariatemplates/src/aria/core/useragent/

Best regards,

David-Emmanuel
Post Reply