Deploy React App to Dynatrace

Hi all,

I build my first dyna react app and am having an error. I’m able to see it okay but I’m not able to share it with the team so I’m assuming it needs deployed in some way. I tried running yarn build and yarn deploy but get this error:

Error: Failed to install the app
HTTP 400 Bad Request

Manifest of app ‘my.dyna.app.react’ violates schema

Incompatible dependency version: ‘/platform/notification/v1’ in version ‘1.1365.0’ is incompatible with the available dependency version ‘1.1355.0’
error Command failed with exit code 1.
info Visit yarn run | Yarn for documentation about this command.

If there is a different way to deploy the app or if anyone has the solution to this error, would appreciate the help.

Hi Naomi,

We’ve rolled out a new version, which should install the correct dependencies. Can you clear your cache/lockfile and try again?

Hi @naomi_rey

Open your project in the terminal and run the following command:

<span>npm install @dynatrace-sdk/client-notification@1.8.0</span>

This should allow you to deploy your app.

PS: Underline issue is also resolved for newly created apps already.

Thanks

Indermohan Singh