I’m thrilled to see that the plotly-toolpanel is now also openly available, that’s great news!
Unfortunately, I have not been able to package it, owing to my unfamiliarity with the required toolchain.
Here’s what I tried:
- Check out plotly-toolpanel into a new directory:
git clone https://github.com/plotly/plotly-toolpanel.git - Change into the
src/jsdirectory:cd plotly-toolpanel/js - Try to run
browserifyusingbrowserify dependencies.js --standalone toolpanel -o toolpanel-dependencies-bundle.js - Whenever
browserifycomplains about a missing dependency, install it:
a.npm install jquery
b.npm install jquery-ui
c.npm install bootstrap
d.npm install boostrap-select
e.npm install jquery-ui-spinnerThis is the first roadblock:npmcomplains that'jquery-ui-spinner' is not in the npm registry.I tried to sidestep the problem by commenting out therequire('jquery-ui-spinner');line
f.npm install tipsy
g.npm install spectrum - After all the requirements have been
npm installed, try to runbrowserify dependencies.js --standalone toolpanel -o toolpanel-dependencies-bundle.jsagain. However, I now get the complaintError: Cannot find module 'tipsy', even though I have installed it.
Could someone with more experience in these matters give me a hint on how to solve this?