I'm using the path-browserify npm package, all the other methods are fine, like basename, parse, and format. However whenever I try to import and use the resolve method I get the following error:
Uncaught ReferenceError: process is not defined