Back

CLI's appwrite.json vs 'appwrite' vite import errors

  • 0
  • Tools
  • Web
devo_wm
31 May, 2024, 11:52

Is there a way to set my appwrite cli config json file name to something other than appwrite.json. If i have it in the root of the project any js import from appwrite tries to look for the modules inside of the json file instaead of my node modules

TL;DR
Developers are experiencing import errors when the appwrite CLI's appwrite.json file is in the root of the project. This causes the JS import from appwrite to search for modules inside the json file instead of the node modules folder.
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