Cropster / ember-l10n

A GNU gettext based localization workflow for Ember
MIT License
15 stars 7 forks source link

l10n:extract throws error and stops #18

Closed tadmore closed 6 years ago

tadmore commented 7 years ago

After following the README info (installing, etc), running extract fails and generates an error.

ember install ember-l10n 👍
ember g ember-l10n-initializer my-l10n-initializer 👍

Used a single helper {{t 'project'}} as a first test, then ran extract

ember l10n:extract
find: no such file or directory: node_modules/make-array/addon/**/*.js 🚨

This looks like a great addon... excited to use it.

mydea commented 7 years ago

What is your OS/Environment? Does it work with the skip-all-dependencies flag: ember l10n:extract --skip-all-dependencies=true?

tadmore commented 7 years ago

skip-all-dependencies works great. It failed at the end because the translations directory didn't exist (yet), but that's easily fixable. Once the dir was created it runs perfectly.

I'm running

Thanks, this is great!

arm1n commented 6 years ago

Closing as resolved - generating the default file structure is already captured in #11.