-
Notifications
You must be signed in to change notification settings - Fork 209
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
Got TypeError: Cannot read property 'ClampToEdgeWrapping' of undefined #43
Comments
To be clear, you didn't do a custom build of Blotter or anything, you just pulled it directly from the source here? Either way, is there any way you can provide a preproduction of the error inside of a codepen or a jsfiddle? Blotter should already be including the modules it relies on, as outlined here (but I assume you've already seen that). |
Yes. I didn't do any custom build of Blotter or anything, I just pulled it directly from the sources. I'm an iOS developer and this is my first time working on vue.js. Please forgive me about the disastrous code style and path structure. |
@bradley I am getting the same error. Installed script via npm. |
Finally got some solutions. |
Good to hear it. But the source code has to be updated with a universal module definition in mind. |
Did anyone ever find a solution to this that didn't involve putting the script in a static folder? I'm getting this when I run tests |
Hi everyone! I am in progress with a Vue.js project and facing some issue when I tried to use blotter.js for my resume page.
Here is my script block below.
I tried to import blotter.min.js and channelSplitMaterial.min.js into my file.
According to the document says, there is no need to import three.js or install modules but I got a
TypeError: Cannot read property 'ClampToEdgeWrapping' of undefined
Error.After some research I thought the ClampToEdgeWrapping seems to be a module of three.js.
Am I misunderstanding something?
Really sorry that I know that maybe this is not a blotter.js issue but a Vue.js issue but there are nothing can reference about blotter with vuejs even within Vue's Chinese forum.
The text was updated successfully, but these errors were encountered: