I set the prefix of npm to d:\npm and installed various modules globally, also I added d:\npm to the Path environment variable and created a NODE_PATH variable pointing to d:\npm\node_modules.
The installed Files are all in den expected directory and stuff like protractor --version
works.
However when I require a globally installed module(with require('jasmine-trx-reporter')
) I get an error that it cannot be found.
On a different machine where I have all the dependency's as dev-dependency installed the same project works with no problems so it has to be some linking issues.
Would appreciate any help.