Chart.js on a chrome extension, Failed to resolve module specifier "@kurkle/color

37 Views Asked by At

I have tried everything under the sun to get Chart.JS or any graphing package to work on my chrome extension. After being totally shut down by referencing the package, I installed chart.js locally with NPM.

Now, the primary issue is when I attempt to run it, it said I needed to install Kurkle color, so I did-- and this is the new error I cannot shake no matter what.

Uncaught TypeError: Failed to resolve module specifier "@kurkle/color". Relative references must start with either "/", "./", or "../". Graph.html line 1

I've tried uninstalling and reinstalling everything, trying to avoid using Kurkle altogether, I cannot shake the error, and frankly I'm not even sure where to look.

Kurkle is declared but never read, yet still throws me errors. Graph.js File Graph.html Manifest.json

0

There are 0 best solutions below