Creating a Discord bot with a few modules. Using npm to be able to edit files in certain node modules.
This has always been working in the past, but for some reason I am getting the error “cannot find module” all of a sudden. The error is in a node module that I had edited requiring a json file outside of the module.
Again, it has been working in the past and had suddenly stopped working. I’ve tried going from pnpm to npm and resetting it, but I am still getting the error.