thlorenz / browserify-shim

📩 Makes CommonJS incompatible files browserifyable.
MIT License
933 stars 87 forks source link

Cannot find module 'browserify-shim' when developing in child directory? #153

Closed kopepasah closed 9 years ago

kopepasah commented 9 years ago

When running browserify, I get the following warning:

Warning: Cannot find module 'browserify-shim' from '/path-to-project/project'.

I am wondering if this is because I am developing in a sub directory (e.g. project/develop) and, if not, do you have any suggestions of how to fix this issue.

The project in question is here. For this project I am using grunt to handle running browserify.

Any help is appreciated.

bendrucker commented 9 years ago

If you can reproduce this without Grunt we can help. Otherwise there's too much going on here to figure out whether browserify-shim is even involved. Let me know and we can reopen.