You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... which version of Chrome and Firefox? This is very important. WebGL (and thus scatter3d) isn't support in all browsers. If you browser doesn't support WebGL there's not much we can do.
You can navigate to https://get.webgl.org/ to check whether your browser supports WebGL.
Your config isn't right yet (I think, I'm no webpack expert). You do need to use ify-loaded on node_modules files. That is, that exclude: /(node_modules|bower_components)/, line seems off.
Activity
etpinard commentedon Mar 27, 2018
What browser are you using?
ndabAP commentedon Mar 27, 2018
Using Chrome but just tested it with Firefox: Same issue (both desktop).
etpinard commentedon Mar 27, 2018
... which version of Chrome and Firefox? This is very important. WebGL (and thus scatter3d) isn't support in all browsers. If you browser doesn't support WebGL there's not much we can do.
You can navigate to https://get.webgl.org/ to check whether your browser supports WebGL.
ndabAP commentedon Mar 27, 2018
Newest versions (65.0.3325.181 for Chrome).
When I require the whole Plotly.js library, I can see the 3 d chart without problems.
etpinard commentedon Mar 27, 2018
In your https://github.com/ndabAP/plotly.js-scatter3d-issue/tree/master your webpack config is missing the
ify-loaderrule. Please see https://github.com/plotly/plotly.js#building-plotlyjs-with-webpack for more info on custom bundling with webpack.ndabAP commentedon Mar 27, 2018
You're right. I added the
ify-loaderbut the error still appears.https://github.com/ndabAP/plotly.js-scatter3d-issue/blob/master/webpack.config.js#L24
etpinard commentedon Mar 27, 2018
Your config isn't right yet (I think, I'm no webpack expert). You do need to use
ify-loadedonnode_modulesfiles. That is, thatexclude: /(node_modules|bower_components)/,line seems off.See full example here: https://github.com/plotly/plotly-webpack/blob/master/webpack.config.js
ndabAP commentedon Mar 27, 2018
That did it. Sorry for bothering you. Should more rely on documentation ;) Have a nice day!