plotly / plotly/react-plotly.js

Browserify issue due to node version

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

JS is not compiling nicely. I am also in a state where I cannot update NPM on my environment. Current NPM version is 2.15.11

Error:
BrowserifyRails::BrowserifyError: Error while running /data/myi/releases/20180622073506/node_modules/.bin/browserify -t babelify --list -o "/data/myi/releases/20180622073506/tmp/cache/browserify-rails/output20180622-32294-159hqip" -:

/data/myi/releases/20180622073506/node_modules/plotly.js/node_modules/mapbox-gl/build/minifyify_style_spec.js:9
let source = '';
^^^

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 with the Browserify command in the error and inspect plotly.js/node_modules/mapbox-gl/build/minifyify_style_spec.js around the reported let source line. Reproduce with NPM 2.15.11 and verify that the JavaScript compiles without the reported BrowserifyRails::BrowserifyError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.