You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code contains an error that in the node -fetch library, the error is this: node-fetch\src\index.js in C:\Users\josed\Desktop\proyectos\bot-nublar\node_modules\discord-backup\lib \index.js to a dynamic import() which is available in all CommonJS modules.
I was able to fix it using the following code
import("node-fetch").then(response => {
const node_fetch_1 = response.default;
At the beginning and at the end this would go:
}).catch(err=> {
console.error(err);
});
At least it gave me that error, just a warning in case it is an error in general.
The text was updated successfully, but these errors were encountered:
The code contains an error that in the node -fetch library, the error is this: node-fetch\src\index.js in C:\Users\josed\Desktop\proyectos\bot-nublar\node_modules\discord-backup\lib \index.js to a dynamic import() which is available in all CommonJS modules.
I was able to fix it using the following code
import("node-fetch").then(response => {
const node_fetch_1 = response.default;
At the beginning and at the end this would go:
}).catch(err=> {
console.error(err);
});
At least it gave me that error, just a warning in case it is an error in general.
The text was updated successfully, but these errors were encountered: