Skip to content
Back

cli broke with new varchar type??

  • 0
  • Databases
  • Cloud
dei8bit
17 Feb, 2026, 15:35
TypeScript
appwrite types ./appwritetypes                                                                          
Info: Detected language: ts
Info: Directory: ./appwritetypes does not exist, creating...
Info: Found 12 tables: contact-forms, testimonials, profiles, user-arts, user-emergency-info, art-forms, user-events, events, competition-history, probe, hobbies, instructors
Info: Found 71 columns across all tables
Info: For detailed error pass the --verbose or --report flag
Error: ejs:24
    22| <% const propertyName = strict ? toCamelCase(attribute.key) : attribute.key; -%>
    23| <% const isValidIdentifier = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(propertyName); -%>
 >> 24|     <% if (isValidIdentifier) { %><%- propertyName %><% } else { %>"<%- propertyName %>"<% } %>: <%- getType(attribute, collections, collection.name) %>;
    25| <% } -%>
    26| }<% if (index < collections.length - 1) { %>
    27| <% } %>

Unknown attribute type: varchar
TL;DR
The CLI is breaking due to an unknown attribute type 'varchar'. You should try updating to the latest version which may resolve this issue.
Chirag Aggarwal
17 Feb, 2026, 15:47

try updating to latest version

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