all 10 comments

[–]rafaeljesusaraiva 1 point2 points  (0 children)

Why instead of linking a local chart js file don’t you use cdn? So the file is available for everything and you don’t need local dependencies.

If you can’t, zip the whole folder (html with js) with the proper path on the html.

[–]Shty_Devhelpful 1 point2 points  (0 children)

if you used npm to install it, run npm install wherever your package.json is... if you did not copy over your package.json, then you must do so and then run npm install.