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() "not found" exceptions should warn on extra ".js" #81

Open
GoogleCodeExporter opened this issue Aug 23, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

Can you see the bug here?

Uncaught exception in /opt/PMItic/libexec/tic/db.js:35: gpsee.loadModule.disk: 
Error loading relative module './db_schema.js': module not found in 
'/opt/PMItic/libexec/tic'

It should be immediately obvious that the problem is a call to 
require('./db_schema.js') rather than the correct call, require('./db_schema')

Let's update the error handling in this situation for 0.2!

Original issue reported on code.google.com by donny.vi...@gmail.com on 11 Oct 2010 at 2:35

@GoogleCodeExporter
Copy link
Author

Original comment by wes@page.ca on 5 Sep 2012 at 3:24

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

No branches or pull requests

1 participant