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 "Uncaught ReferenceError: $ is not defined" #101

Open
xie-qianyue opened this issue Dec 12, 2017 · 2 comments
Open

Error "Uncaught ReferenceError: $ is not defined" #101

xie-qianyue opened this issue Dec 12, 2017 · 2 comments

Comments

@xie-qianyue
Copy link

xie-qianyue commented Dec 12, 2017

Hello Ruben,

After updating to the latest version, I have the following error in the console of Chrome (version 62.0.3202.94), when opening bimviews:

(index):217 Uncaught ReferenceError: $ is not defined
    at (index):217
    at l ((index):35)
    at HTMLScriptElement.j ((index):36)

More precisely, the error occurs on the line 217 of index.html, in the function of loadBimServerApi:

$.ajaxSetup({
    cache: true
});

It seems that the library of JQuery is not loaded.

This error occurs in production (when using transpiled js of bimserversapi).

Can you please check this error, if all goes right on your side, just tell me, I will recheck the codes on my side.

Thank you.

@rubendel
Copy link
Member

It's going alright here (Chrome 63, which is now the latest stable version). But I did make another build of the JavaScript API because the version numbers were mixed up (latest build did not actually have the latest version number).

@xie-qianyue
Copy link
Author

I'm not quite sure whether I have followed you. What you mean is the problem comes from the project JavaScript API but not this project, and it's a known issue of the current version of project JavaScript API, but a previous version worked? Do you mean that?

Moreover, please see this closed issue 97, I have this error again in local.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants