question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

babel dependency problems

See original GitHub issue

Hello Flekschas,

I am struggling with the integration of your lib, unfortunately, I am struggling with babel dependencies.

Maybe you could give me an advice

./node_modules/regl-scatterplot/dist/regl-scatterplot.esm.js 3157:9
Module parse failed: Unexpected token (3157:9)
File was processed with these loaders:
 * ./node_modules/babel-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
|   } = initialProperties;
|   checkReglExtensions(regl);
>   regl ||= createRegl(canvas);
|   backgroundColor = toRgba(backgroundColor, true);
|   lassoColor = toRgba(lassoColor, true);

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
flekschascommented, Mar 11, 2021

The next version of regl-scatterplot (v0.17) gets of the dependency on babel’s logical assignment operator plugin. So hopefully everything works again as before.

Thanks for bringing this to my attention!

1reaction
flekschascommented, Mar 6, 2021

Mhh it’s odd it doesn’t work.

I’ll reopen the issue just so I don’t forget to switch back to the regular operators. There shouldn’t be a need to install special babel plugins 😃 Thanks for bringing this issue to my attention!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue with babel-jest dependency when running npm start in a ...
This problem can occur if there is node_modules in a parent directory of the folder where you run the application. I ...
Read more >
babel-loader devDependency causes error in Create-React-App
To fix the dependency tree, try following the steps below in the exact order: 1. Delete package-lock.json (not package.json!) and/or yarn.lock ...
Read more >
How to resolve create-react-app babel-jest Error. - Medium
There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you...
Read more >
Upgrade to Babel 7
Babel has had issues previously with handling node_modules , symlinks, and monorepos. We've made some changes to account for this: Babel will stop...
Read more >
babel-loader - npm
This package allows transpiling JavaScript files using Babel and webpack. Note: Issues with the output should be reported on the Babel ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found