Strider-CD / strider-node

Run Node.js tests in strider
11 stars 13 forks source link

NODE_PATH broken #28

Closed carlitux closed 8 years ago

carlitux commented 9 years ago

I have this command to test

NODE_PATH=app:lib:frontend/javascript mocha

but not working on strider.

knownasilya commented 9 years ago

We use the n module, which doesn't honor NODE_PATH. See https://www.npmjs.com/package/n

carlitux commented 9 years ago

I read the doc and it doesn't say about the NODE_PATH. Commands run inside the project directory or there is a way to get the project directory?

knownasilya commented 9 years ago

$PWD will give you the current directory.

What are you trying to do?

carlitux commented 8 years ago

@knownasilya sorry my mistake... Already NODE_PATH is used, I had in .gitignore a RE that those files was skipped.