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

Getting a "Module is not available" error #304

Open
patrickliechty opened this issue Jun 27, 2014 · 3 comments
Open

Getting a "Module is not available" error #304

patrickliechty opened this issue Jun 27, 2014 · 3 comments

Comments

@patrickliechty
Copy link

"Unable to create instance of the 'OpenSD' control: Error: module OpenSD failed to load successfully: Runtime error in OpenSD(https://edge.fscdn.org/assets/js/modules/OpenSD-61c59054d21f18a44e03f3d7c62f30dc.js) module TooltipBS is not available @ Line: -10 Column: 35862 "

We are getting this error when the code is minified. We are not sure if this is a parsing error or what. It is very vague. And this module does load on a different page when the code is minified.

More than anything, what does this error ("module TooltipBS is not available") mean? Why did it fail?

@jakobo
Copy link
Contributor

jakobo commented Jun 27, 2014

Hi Patrick. A couple of questions:

In your console, what does the value of Inject.version equal? I want to
make sure we are looking at the same code base.

Regarding the vagueness, it seems the TooltipBS module wasn't loaded. Can
you see if this module is showing up in your browser's network tab? We do
need to ensure 404 errors are propagated to the console to assist in
debugging.

Thanks for answering the two above items and we'll help you get things up
and running.

On Friday, June 27, 2014, Patrick Liechty [email protected] wrote:

"Unable to create instance of the 'OpenSD' control: Error: module OpenSD
failed to load successfully: Runtime error in OpenSD(
https://edge.fscdn.org/assets/js/modules/OpenSD-61c59054d21f18a44e03f3d7c62f30dc.js)
module TooltipBS is not available @ Line: -10 Column: 35862 "

We are getting this error when the code is minified. We are not sure if
this is a parsing error or what. It is very vague. And this module does
load on a different page when the code is minified.

More than anything, what does this error ("module TooltipBS is not
available") mean? Why did it fail?


Reply to this email directly or view it on GitHub
#304.

--Jakob

@patrickliechty
Copy link
Author

We are on an older version. 0.5.2 The Module does not show up in the network tab.

@jakobo
Copy link
Contributor

jakobo commented Jul 1, 2014

Thanks Patrick. Do you mind sharing your Inject configuration? I'd be
curious to see what rules you have, as those are often the culprit. (Also,
if there are no deprecated APIs in use, we may also be able to see if a
more modern version of Inject fixes the issue).

--Jakob

On Fri, Jun 27, 2014 at 1:13 PM, Patrick Liechty [email protected]
wrote:

We are on an older version. 0.5.2 The Module does not show up in the
network tab.


Reply to this email directly or view it on GitHub
#304 (comment).

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