throwing exception if including via bower, but not using knockout
See original GitHub issueI am using bower to include the library (using version 1.3.0, since 1.40 is currently broken).
When I loading my app, I get the following console error:
Uncaught TypeError: Cannot read property 'bindingHandlers' of undefined(anonymous function)
@ knockout-sortable.js:155(anonymous function)
@ knockout-sortable.js:12(anonymous function)
@ knockout-sortable.js:14
Looking at the code, it is easy to tell that ‘ko’ is undefined. Is there a way to omit the inclusion of knockout-sortable.js if I am not using knockout?
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Apparent confusion with knockout.js dependency #21 - GitHub
The problem is that when I specify knockout and bower-install it, its .bower.json lacks a main property, and knockout (at least at the...
Read more >knockoutjs throws "Unknown template value" when using ...
I have used yeoman to scalfold and bower to install the libraries. I'm not sure how to troubleshoot this as the error describes...
Read more >Asynchronous error handling - Knockout.js
Knockout wraps internal asynchronous calls and looks for an optional ko.onError callback to execute, if an exception is encountered, before throwing the ...
Read more >5 Knockout BOXING Combos I I Used THESE IN MY FIGHTS
I don't talk about my boxing career much but 90 percent of my fights ended ... Welcome to the official Nate Bower Fitness...
Read more >A Beginners Guide to Package Manager Bower and Using ...
The plugin gulp-uglify is for JS only, therefore trying to compress CSS with it throws an error. Use gulp-minify instead! Shane – 4...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue with me. The best way is doing an override in your bower.json
Moved to https://github.com/SortableJS/knockout-sortablejs