I'm trying to make a browser-side Imgur module, but the imgur module on NPM has some problems with requiring another module.
Error: Cannot find module './C:/Users/*******/AppData/Local/Yarn/config/global/node_modules/is-buffer/index.js' from 'D:\Projects\********\node_modules\http-signature\lib'
As you can see, it's trying to get a module from ./C:/...
, but since there's no C:
directory in the CWD, it can't find anything.
Is it possible to fix this?
People have reported a similar problem in this bug, which you may be caught in.
Fortunately it was fixed very recently. Run npm update
to grab the Browserify dependency [email protected]
or later, which should contain the fix.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With