plotly / react-chart-editor

Customizable React-based editor panel for Plotly charts
https://plotly.github.io/react-chart-editor/
MIT License
499 stars 101 forks source link

npm start error of development setup #1019

Closed chl87256 closed 4 years ago

chl87256 commented 4 years ago

error I did a development setup of react-chart-editor. The installation proceeded to npm install, but after npm start, the error shown in the picture was displayed. I tried several things but couldn't find the answer. I thought it was a babel problem, so I upgraded and modified the index.js file, but it didn't work. If you know how, please let me know. So thank you so much.

dmt0 commented 4 years ago

Would you mind trying yarn install instead of npm install? What is your node.js version?

chl87256 commented 4 years ago

ould you mind trying yarn install instead of

I'm using centos7 so I can't use yarn install. The version of node.js is 6.17.1 Ah I installed yarn with npm in centos. But when I installed yarn, I got an error again. I did a yarn install and start and got the exact same result as in the picture above.

dmt0 commented 4 years ago

node.js version is likely a problem. A lot of the dependencies are no longer supporting anything below v10. We're doing development with v12.

chl87256 commented 4 years ago

node.js version is likely a problem. A lot of the dependencies are no longer supporting anything below v10. We're doing development with v12.

thank you!! Yeah! I upgrade node js and fix other errors so it works fine.