Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

require.paths is removed error when running #3

Open
elliotstokes opened this issue Dec 19, 2013 · 4 comments
Open

require.paths is removed error when running #3

elliotstokes opened this issue Dec 19, 2013 · 4 comments

Comments

@elliotstokes
Copy link

I am trying to get coverage for some nodeunit tests I have. I have my tests in a test folder and the code I want to instrument is all in the libs folder.

I am running

nodecover -s ./lib -t ./tests

I am getting the error
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH envi
ronment variable instead.

Any ideas?

@elliotstokes
Copy link
Author

I just noticed this
SimonRichardson@2f99994

NPM still provides the version with the issue. Any chance you could release the update?

@navasvarela
Copy link
Owner

Let me look into that

@ecokeley
Copy link

I just got this error. Is this module not being worked on anymore?

@elliotstokes
Copy link
Author

I ended up doing it myself with jscoverage and then using the nodeunit --lcov reporter if that's any help. Here is the repo if it's any help https://github.com/elliotstokes/gpx-parse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants