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.try updating to latest version
Recommended threads
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...