-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node package causes errors #437
Comments
plotly.js is browser package, with no intention of working in vanilla node.js. In order to do so, you'll need use Here's my preliminary attempt: https://gist.github.com/etpinard/bee7d62b43b6bb286950 I ran into a few issues, and it is not in a working state. But, we hope to solve these issue shortly to offer server-side plotly.js rendering. |
What about web frameworks that use SSR (server-side rendering)? We use Next.js, which server-renders first, and it is a bug for us as well. |
Even when using |
Calling plotly like this:
var Plotly = require('plotly.js');
Causes this:
The text was updated successfully, but these errors were encountered: