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

Error when evaluating expression #42

Closed
francoisromain opened this issue Aug 15, 2016 · 5 comments
Closed

Error when evaluating expression #42

francoisromain opened this issue Aug 15, 2016 · 5 comments
Labels
Type: Bug Bug or Bug fixes

Comments

@francoisromain
Copy link

francoisromain commented Aug 15, 2016

vue & vue-i18n version

ex: 1.0.26, 4.1

What is actually happening?

vue-i18n is working great in a project.
When I npm install my project on another computer however, it is making an error in the console and the translations don't display.

the error:

Error when evaluating expression "$t("my-expression": TypeError: Cannot read property 'util' of undefined

I don't see any diference in the 2 computers configuration. What can I do to solve this?

Thank you

@francoisromain
Copy link
Author

this is a bug from version 4.2.1 which can not evaluate the content of an array.
I rolled back to 4.1 which works fine for now…

@kazupon
Copy link
Owner

kazupon commented Aug 15, 2016

Thank you for your reporting!!
Can you provide the reproduction code with jsfiddle or other please?

@kazupon
Copy link
Owner

kazupon commented Aug 15, 2016

related?
#43

@francoisromain
Copy link
Author

@kazupon yes it look lie the same thing.

@kazupon
Copy link
Owner

kazupon commented Aug 15, 2016

oh my god ...
sorry, I'll try to fix.

@kazupon kazupon added the Type: Bug Bug or Bug fixes label Aug 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants