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

7.0.0 is not working on Windows #403

Closed
rtarnaud opened this issue Sep 14, 2022 · 5 comments
Closed

7.0.0 is not working on Windows #403

rtarnaud opened this issue Sep 14, 2022 · 5 comments

Comments

@rtarnaud
Copy link

...as opposed to 7.0.0-beta.4 for example, which does work on Windows.

@andy128k
Copy link
Collaborator

Any details?

@hahnbeelee
Copy link

hahnbeelee commented Sep 23, 2022

I'm testing on mac and it isn't working for me either. No errors are being thrown but my favicons are just not being generated. 7.0.0-beta.1 and 7.0.0-beta.4 also works for me. 7.0.0-beta.5 doesn't work for me either.

@andy128k
Copy link
Collaborator

May you provide more details? How do you test? May it happen that you use a callback to get a result? Callbacks are not supported anymore (since beta.5).

favicons(source, options, (error, result) => { ... }) should be changed to favicons(source, options).then(result => { ... }, error => { ... }).

@rtarnaud
Copy link
Author

No I didn't update my code to reflect the switch to promises so I guess that's the issue. Thanks for the heads up but I would humbly suggest that you announce these kind of changes in a changelog document, not only in the readme. Especially when you change the API itself between a beta version and the corresponding release.

@hahnbeelee
Copy link

The change also isn't reflected on the npm readme

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