I'm trying to install an NPM package called WebStatic to be used in a site I'm working on, but the path it's giving me an error for keeps looking at the drive I'm in twice.
Here's the error I've been getting: Cannot find module 'D:\c\Users\TomerK'sPC\AppData\Roaming\npm\node_modules\web-static\static.js'
I suspect that the problem has to do with node trying to consistently go straight from my D drive to my C drive, but when I tried to run the same command (the command WebStatic is just called by typing in Static), I get the same error except it says:
Cannot find module 'C:\c\Users\TomerK'sPC\AppData\Roaming\npm\node_modules\web-static\static.js'
I was wondering how to change the path so that it doesn't check the C drive twice? I'm guessing that the problem has something to do with my environment variables.