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

react-colorscales sourcemap warning in react-typescript project #1068

Open
himanshupratap opened this issue Sep 1, 2020 · 0 comments
Open

Comments

@himanshupratap
Copy link

On using react-chart-editor in a typescript based react project, i am getting following warning.

WARNING in ./node_modules/react-colorscales/build/index.js
Module Warning (from ./node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find SourceMap 'data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+"': Error: Can't resolve './data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+"' in '/home/user1/myproject/node_modules/react-colorscales/build'

My source code is as follows:

<PlotlyEditor
data={data}
layout={layout}
config={config}
frames={frames}
dataSources={dataSources}
dataSourceOptions={dataSourceOptions}
plotly={plotly}
onUpdate={(data1, layout1, frames1) => {  setData(data1);   setLayout(layout1);   setFrames(frames1);  }}
useResizeHandler
debug
advancedTraceTypeSelector
/>
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

1 participant