Closed snajjar closed 7 years ago
Browserify transforms should be installed locally, and I'd recommend you use local dependencies for browserify transforms. You can check out this issue at https://github.com/substack/node-browserify/issues/1206 to find a workaround.
Hello, It seems that a simple browserify command like below will work fine if browserify-css is installed locally (in the current repository):
But the exact same command will fail if the browserify-css package is installed globally (npm install -g):
My NODE_PATH is set correctly, and if i run node, i can require('browserify-css') in it without a problem (on both install: local dir and global). I've been scratching my hair around this, can you please give me some lights?
Thank you :)