question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work with bower if path if `bower_components` not in path

See original GitHub issue

We use jsroot through bower (see #120) and unfortunately since our setup involves copying files, minifying, etc. when the browser loads jsroot, the path does not include bower_components/jsroot/scripts. Since our setup doesn’t give easy access to the point where the js file is loaded, it’s difficult to pass it ?bower.

(For now, we can still import it as a standalone library, but it would be nice to use jsroot through a package manager.)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
linevcommented, May 15, 2017

Now functionality available in latest JSROOT release. You can find info here:

https://github.com/root-project/jsroot/tree/master/demo/gulp

0reactions
natfarleydevcommented, Sep 27, 2017

Sounds good to me, I’ll raise a new issue if it’s a problem.

On Wed, 27 Sep 2017, 11:24 Sergey Linev notifications@github.com wrote:

I closing issue - also latest 5.3.0 release works for me

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/root-project/jsroot/issues/122#issuecomment-332478388, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQFdxTQc1EFmx6Ow49pANEktsnBBMaLks5smiJvgaJpZM4MOSmv .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nested relative local path bower components cannot resolve ...
The issue is that nsm-form-bundle has a relative dependency on jquery-nsm-collection . When resolving the relative path the path is calculated ...
Read more >
Bower Issue: bower_components not created - Stack Overflow
This is because the bower install command works (or seems to work) like a transaction in that if one part fails, the whole...
Read more >
bower
We discourage using bower components statically for performance and security reasons (if component has an upload.php file that is not ignored, that can...
Read more >
Folder "bower_components" is missing / Grunt not work ...
Hey! The first thing you need to do is navigate to the theme folder and run: $ npm install. Is that how you...
Read more >
bower-path-data - npm
Returns an object containing bower path and directory name information, if available. Any values that could not be found will be returned with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found