cloverfield-tools / universal-react-boilerplate

A simple boilerplate Node app.
MIT License
904 stars 97 forks source link

Path was invalid? #94

Closed felixsanz closed 8 years ago

nkbt commented 8 years ago

We have path dynamically set as NODE_PATH env var, so it is resolved to source dir.

See https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders

felixsanz commented 8 years ago

you should avoid that kind of magic in my opinion. it's harder to mantain

nkbt commented 8 years ago

I personally agree with you, but it seems that a lot of people actually appreciate this way.

Another huge downside for me: no proper refactoring/intel support in WebStorm. Though if you are using atom/sublime/vim/emacs that thing just does not exist for you.