-
-
Notifications
You must be signed in to change notification settings - Fork 836
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
LIB_VERSION is not defined #310
Comments
Having the same error. @Laruxo where and how do you define it to make it work? |
I get the same error as following on the all browser with windows 10 (chrome, ie 11, firefox, opera... etc). (note that is working good on the osx.)
|
Looks like it is related to this PR #305. https://github.com/apertureless/vue-chartjs/pull/305/files#diff-e4403a877d80de653400d88d85e4801aR20 Reverting to 3.1.0 solves the issue for now. |
I tried version 3.1.0 but the error still occurs.
|
Your version constraint pulls in everything that matches 3.1.0 or higher. You need to specifically require |
Thanks a lot. It works perfectly. |
The error is currently caused by the build process with Webpack so once that is fixed you should be able to pull in For now just use |
Okay. I understood everything. |
Same error happening here. Dwgrading to 3.1.0 worked. |
The lib version is also defined in the webpack banner plugin, so actually there is no need to include it into the lib object. Closes issue #310
With 3.2 release I see that you added LIB_VERSION constant that you resolve with webpack.
However when using webpack 2 to build my project I also have to define this constant or revert code changes in
es/index.js
.Without that, I get
ReferenceError: LIB_VERSION is not defined
I think this package should work without modifications like this.
The text was updated successfully, but these errors were encountered: