Although I am still new to NPM, I have mostly built websites without using it. Recently, I decided to implement smooth scroll using Jump.js.
Initially, everything seemed to work well when I used the live server extension in VScode. However, once I uploaded the website to Github and accessed it,
I encountered the following error:
Failed to load resource: the server responded with a status of 404!
Here is the code snippet causing the issue:
import jump from './node_modules/jump.js/dist/jump.module.js';