scorpiusjs / scorpius

Modular admin solution built with Meteor
http://scorpiusjs.org
MIT License
34 stars 7 forks source link

ReferenceError: i18n is not defined #39

Closed krishaamer closed 7 years ago

krishaamer commented 7 years ago

After updating to 0.3.1 I'm getting the following error:

W20161210-00:25:21.343(2)? (STDERR) ReferenceError: i18n is not defined
W20161210-00:25:21.343(2)? (STDERR)     at meteorInstall.node_modules.meteor.scorpiusjs:accounts.accounts.js (packages/scorpiusjs:accounts/accounts.js:69:23)
W20161210-00:25:21.344(2)? (STDERR)     at fileEvaluate (packages/modules-runtime.js:181:9)
W20161210-00:25:21.344(2)? (STDERR)     at require (packages/modules-runtime.js:106:16)
rwatts3 commented 7 years ago

Can you try to add the lang-en package directly. I removed the dependency in core this may be related to that.

krishaamer commented 7 years ago

Tried that but no difference unfortunately. Also tried adding anti:i18n, which is what I guess packages/scorpiusjs:accounts/accounts.js:69:23 is referring to but still getting the same reference error. Also tried creating a fresh meteor app to rule out any interference and getting the same error.

rwatts3 commented 7 years ago

yeah i'm noticing this too with a fresh app, I updated the api version to 1.4.3.2 I wonder if it has something to do with that. anyhow i'm looking into the issue as we speak.

krishaamer commented 7 years ago

Thanks!

rwatts3 commented 7 years ago

ok so far it definitely looks like the problem is with api version. i'll release a patch shortly once I finish testing

rwatts3 commented 7 years ago

just pushed a release for accounts give it a spin and let me know if everything checks out .

krishaamer commented 7 years ago

Yep, that solved it! Thanks!

rwatts3 commented 7 years ago

Awesome.