plotly / plotly/react-plotly.js

Can't resolve 'plotly.js/dist/plotly'

Open
#143 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation P3 size: 1
Dominant language
JavaScript
Stars
1.1k
Forks
138
Avg merge
3d 2h
Merged PRs (30d)
4

Description

I 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'

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the React app startup failure and inspect the import in node_modules/react-plotly.js/react-plotly.js. Check how the installed Plotly dependency is resolved, using the reported plotly.js/dist/plotly path as the entry point. Done means the module resolves and the React app starts without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.