-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug when creating strapi project with template + TypeScript #88
Comments
I just encountered this bug as well. If you create the content types manually then everything works fine - but using the |
Same here. I encountered the same problem just now with --ts flag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just created a strapi project using the Blog template and also added the --ts flag so typescript is enabled.
However: strapi won't recognize the collections etc. in the roles section in the template since they are .js files and not .ts.
Result: you can create collections that are created by the template like 'article', but when calling the rest api or checking permissions in the admin panel the collection is not shown.
Results in this error:
when calling e.g. this rest api:
GET http://localhost:1337/api/articles
The text was updated successfully, but these errors were encountered: