function tryResolve( path, basedir ) {
	try {
		return resolve( path, {
			'paths': ( ENV.NODE_PATH ) ? ENV.NODE_PATH.split( DELIMITER ) : [],
			'basedir': basedir
		});
	} catch ( err ) {
		return err;
	}
}
Synchronously attempts to resolve a `require` path.

@private
@param {string} path - path to resolve
@param {string} basedir - directory from which to begin resolving
@returns {(Object|Error)} resolved path or an error