Skip to content
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

The dependencies are not being installed #314

Open
crawlchange opened this issue Mar 13, 2023 · 2 comments
Open

The dependencies are not being installed #314

crawlchange opened this issue Mar 13, 2023 · 2 comments

Comments

@crawlchange
Copy link

Steps to reproduce:

npm install react-plotly.js plotly.js
npm start

Errors:

Module not found: Error: Can't resolve 'buffer/'
Module not found: Error: Can't resolve 'stream'
webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
Module not found: Error: Can't resolve 'assert' in

@floschne
Copy link

any ideas how to solve?

@sriinnu
Copy link

sriinnu commented Dec 11, 2023

Installing 
"@types/plotly.js": "^2.12.30",
 "plotly.js-dist-min": "^2.27.1"
    
 and 
 import Plotly from "plotly.js-dist-min";

this worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants