Replit trying to NPM Install path variables

I have a nodejs variable containing a path.join and Replit is trying to npm install the variable name. Of course, this is not a valid npm package and is therefore returning and error. It’s not an error that would stop my script from running but still – it’s very annoying.

here you could just do require(filePath).
But to make replit ignore a package for guessing, you could enter in Shell:

sed -i '/ignoredPackages/s/\]/, "<package name>"]/' .replit