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
Error: require.paths is removed. #43
Comments
I have the same issue Executed command: "'/usr/local/bin/jsctags' -f - '/home/bob/www/ss/s.js'" |
+1 |
I know it sound silly but: have you set the NODE_PATH variable? |
yes i have this in profile mesg n export NODE_PATH=/usr/local/lib/jsctags/:$NODE_PATH |
this is also a problem for me as well it appears that this script is not compatible with node.js 0.6.x any word on progress with this? |
+1. Is there a workaround? |
+1 |
It seems node.js removed support for require.paths, as explained in the error method. I was able to solve this by removing the offending "require.paths" line. Then my I should create a proper pull request but, I dont have access to git from work. File : serve.js ~line: 39 -require.paths.unshift('./lib/jsctags');
var http = require('http'), paperboy = require('paperboy'); |
I still get this error, after fixing my environment NODE_PATH and running from my command line: /home/scottj/Downloads/doctorjs/serve.js:51 scottj@dill$ nodejs --version |
When running most of the JS files in doctorjs, they yield the following error. 'make serve' for instance:
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
The text was updated successfully, but these errors were encountered: