Chartjs-Unable to resolve path to module 'chartjs-plugin-stacked100'

0๐Ÿ‘

โœ…

I found out that my error was caused by my eslintrc configuration. So I just had to add this in the .eslintrc.json (in the root of my src folder):

"settings": {
        "import/resolver": {
            "node": {
                "extensions": [".js", ".jsx", ".ts", ".tsx"]
              }
        }
    }

So now I am able to import the js module

Leave a comment