#Apps Getting Started - problems

1 messages · Page 1 of 1 (latest)

modern copper
#

Currently looking into Twenty apps and following the documentation. There have been some issues or missing parts, which I will try to document here.

  1. Start command changed
# Scaffold a new app (includes all examples by default)
npx create-twenty-app@latest my-twenty-app
cd my-twenty-app

# Start dev mode: automatically syncs local changes to your workspace
yarn twenty dev

# yarn twenty dev => error: unknown command 'dev'
Seams to be replaced with yarn twenty app:dev which is correctly output in the terminal after the create command

  1. Authentication command
    When running the yarn twenty app:dev I get an Authentication failed error without a hint.
    Checked with the AI Assisstant in the docs and got the info to run yarn twenty auth:login first, and had to create an API key which fixed the error.

  2. Running app:dev is showing me an

Resource Build: error
Application Synchronization: error

The other status are showing done

Source: https://docs.twenty.com/developers/extend/apps/getting-started

#

I do see the app in the workspace settings under Apps > Your Apps, so might be everything correct, just these errors did confuse me.

ebon dagger
#

@modern copper first point is correct if you use 0.8.0-canary version, second is also expected as error is clear (like on screenshot below)

#

The last point I believe will be fixed once you change your SDK version to 0.8.0-canary

modern copper
#

I did run the documented commands, so what ever version I got is different what is documented.
The authentication error message did not had the message in your screenshot as far as I remember, and should also be added as step to the documentation.
If the documentation is in a repo I can make a merge request for an update.

ebon dagger
#

That's because you probably used 0.7.0 version

#

I used 0.7.0 earlier and I reproduced your errors but I switched to 0.8.0 and it's fixed so I wouldn't bother with fixing docs when they're prepared for next version

#

Especially considering the fact that SDK is somewhat strictly bounded to Twenty version