-
Notifications
You must be signed in to change notification settings - Fork 72
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: The onCancel
handler was attached after the promise settled.
#111
Comments
Hey @WillSquire will take a look here, what version are you using? |
@WillSquire if you have a stacktrace this would be helpful too, and you can also add a
I just ran this on the latest version and it works okay: const Sitemapper = require("sitemapper");
const sitemap = new Sitemapper({
url: "https://www.google.com/sitemap.xml",
debug: true,
});
sitemap.fetch().then((results) => console.log(results.sites)); |
Results:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get the following for
new Sitemapper({ url: 'https://www.google.com/sitemap.xml' })
:Error: The `onCancel` handler was attached after the promise settled.
The text was updated successfully, but these errors were encountered: