Discord.js: Yarn: Use node-fetch instead of snekfetch

Created on 3 Jun 2019  Â·  5Comments  Â·  Source: discordjs/discord.js

During installation of discord.js, this appears quite frequently:

warning discord.js > [email protected]: use node-fetch instead

Can this safely be ignored?

invalid

All 5 comments

snekfetch is just deprecated and may be removed in upcoming versiond just use node-fetch it is easy to use.
this is the link for package :https://www.npmjs.com/package/node-fetch
and this is a tag from our server
Read about how to interact with data from all different kinds of sites through the use of APIs, using HTTP requests:
https://discordjs.guide/#/additional-info/rest-api
this link uses node fetch too
btw it is preferred to use node fetch but you can ignore it as well

@IngwiePhoenix

Yes, you can safely ignore that. [email protected] uses snekfetch as its change would be semver-major, that's why master ([email protected]) uses node-fetch instead.

I see, good to know!

When will discord.js@12 be available on NPM?

I see, good to know! When will discord.js@12 be available on NPM?

Soonâ„¢

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BrandonCookeDev picture BrandonCookeDev  Â·  3Comments

tiritto picture tiritto  Â·  3Comments

iCrawl picture iCrawl  Â·  3Comments

Brawaru picture Brawaru  Â·  3Comments

Alipoodle picture Alipoodle  Â·  3Comments