'popover.Constructor' is undefined error occurs immediately as I run my meteor project
KaleenAli opened this issue · comments
So I recently downloaded this package into my meteor project, and right away when I started my app it threw this error.
bootstrap-editable.js line 4707 is below:
When researching the problem I have found some possible causes, but have not been able to solve the error.
One theory is that popover.js is being loaded after x-editable.js - if this is true, does anyone know how I can create a specific order?
Also, I personally am not looking to use the Default Popover form, I'm looking to implement the inline version of the package. If there is an easy way to just ignore the popover code, that'd work for me as well!
Any help will be greatly appreciated!
Here is the list of packages within my project:
i think this is due the weak dependency on the 2 bootstrap packages
(official one + nemo64 version) -- i'm not quite sure how to resolve this
except by making the dependency strong on one package, but that would mean
we need 2 versions of this package (one for each bootstrap package)
On Wed, Dec 16, 2015 at 12:06 PM, KaleenAli notifications@github.com
wrote:
So I recently downloaded this package into my meteor project, and right
away when I started my app it threw this error[image: screen shot 2015-12-16 at 10 47 40 am]
https://camo.githubusercontent.com/ba47a8521228b9a60e2d11e5028c6243ac1bd01f/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f31303736303232382f31313834373532372f39316538656431302d613365332d313165352d393833332d666539653433643032646365706e67bootstrap-editablejs line 4707 is below:
[image: screen shot 2015-12-16 at 10 47 54 am]
https://camo.githubusercontent.com/586deabc76c5f3566e5d499b7e631a70034c813a/68747470733a2f2f636c6f756467697468756275736572636f6e74656e74636f6d2f6173736574732f31303736303232382f31313834373735352f38663364656162612d613365342d313165352d393462342d396339333236306330636163706e67When researching the problem I have found some possible causes, but have
not been able to solve the errorOne theory is that popoverjs is being loaded after x-editablejs - if this
is true, does anyone know how I can create a specific order?Also, I personally am not looking to use the Default Popover form, I'm
looking to implement the inline version of the package If there is an easy
way to just ignore the popover code, that'd work for me as well!Any help will be greatly appreciated!
—
Reply to this email directly or view it on GitHub
#40.
Thank you so much for responding so quickly, I really appreciate it!
So I went back and looked at why I have nemo64:bootstrap and turns out I don't think I need it. Have you had any experience totally get rid of a package (are there any other steps besides deleting from the packages file (above)?)?
I'm semi-new to meteor and don't mind just using the 'official' bootstrap that your package relies on, I'm just not quite sure how to cut out the second bootstrap package all together.
In my first attempt, I removed the nemo64:bootstrap package and re-ran meteor. The same error I wrote about originally is still happening, but I figure that could be because I'm not removing everything I need to be??
Actually, removing the nemo64:bootstrap package and adding the twbs:bootstrap solved the original "Constructor undefined" issue!
Thank you!
Glad you got it worked out!
On Thu, Dec 17, 2015 at 5:52 PM, KaleenAli notifications@github.com wrote:
—
Reply to this email directly or view it on GitHub
#40 (comment)
.