Unable to install my ACE app deployed on Heroku on my instance (return 401)

i fix that by downgraded pg version from 8 to 7 now i m able to install may ACE app in my instance
but i m facing this error while runing my app
Error: Could not load the component dashboard.jsx. Did you run npm buildto compile your jsx files?

this is my route file :
export default function routes(app, addon) {

app.get('/', (req, res) => {
    res.redirect('/atlassian-connect.json');
});


app.get('/cockpit',  addon.authenticate(), (req, res) => {

    res.render(
      'dashboard.jsx',
      {
        title: 'Atlassian Connect'
       
      }
    );

});

}
i tried to change my dashboard.jsx with another file test.hbs it works perfectly .

when i run my app localy using ngrok it works fine as expected with my jsx