Can't resolve 'plotly.js/dist/plotly'
See original GitHub issueI get the following error when I start my react app.
./node_modules/react-plotly.js/react-plotly.js
Module not found: Can't resolve 'plotly.js/dist/plotly'
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
plotly.js-dist - npm
Start using plotly.js-dist in your project by running `npm i plotly.js-dist`. There are 34 other projects in the npm registry using ...
Read more >Docker - Module not found: Can't resolve 'react-plotly.js'
1 Answer 1 · Stop any docker-compose if running, with docker-compose down -v · Now add your npm module in your react application,...
Read more >React-plotly not working with create-react-app: UPDATE
I made a create-react-app using two node versions on Windows 10. ... import Plot from 'react-plotly.js';. and start the app with npm start...
Read more >plotly.js-basic-dist | Yarn - Package Manager
js -basic-dist. Ready-to-use plotly.js basic distributed bundle. Contains trace modules bar , pie and scatter .
Read more >A Plotly.js React Component From Plotly - Morioh
import React from 'react'; import Plot from 'react-plotly.js'; class App extends React.Component { render() { return ( <Plot data={[ { x: [1, 2,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just had to install plotly.
npm install plotly.js
Shouldn’t it be installed automatically if it is a dependancy?
I’m currently using this with plotly.js-dist. You can just use the
factory.js
with your own plotly dist.CodeSandbox link: https://codesandbox.io/s/fancy-smoke-9jlm3?fontsize=14&hidenavigation=1&theme=dark