react-chartjs-2 icon indicating copy to clipboard operation
react-chartjs-2 copied to clipboard

Installation using Bower + bower-npm-resolver causes Uncaught ReferenceError: process is not defined

Open bennoheld opened this issue 4 years ago • 0 comments

I tried to install react-chartjs-2 using bower-npm-resolver with bower. When I try to include react-chart-js in my Jinja2 HTML file via <script src="{{ url_for('static', filename='bower_components/react-chartjs-2/dist/react-chartjs-2.js') }}"></script>, I get the following error message.

react-chartjs-2.js:282 Uncaught ReferenceError: process is not defined
    at react-chartjs-2.js:282
    at createCommonjsModule (react-chartjs-2.js:225)
    at react-chartjs-2.js:278
    at react-chartjs-2.js:4
    at react-chartjs-2.js:5

bennoheld avatar Jul 20 '21 15:07 bennoheld