Back

Cannot find module 'node-fetch-native-with-agent/agent' from 'node_modules/node-appwrite/dist/client

  • 1
  • React Native
  • Web
Lauriane
26 Aug, 2024, 14:35

Hey! I want to use the SDK to create my database and my collections, instead of doing that manually, through the wen interface. I see this error when I want to run my test: https://github.com/Open-Source-Economy/frontend/blob/feature/app-write/src/appwrite/__tests__/appwrite.test.ts

Any clue where it can come from? (I check every source available) (I am not very familiar with the JS environment)

TL;DR
Error message indicates that module 'node-fetch-native-with-agent/agent' cannot be found in the specified directory. Make sure the module is installed properly. This error might originate from an issue with module dependencies or file paths. Double-check your installation and file structure.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more