Converting Slack-Node welcome app to TS

I am trying to us TS instead of JS. The template im converting is “slack-node”

I have a dist and everything works. except when i run mapps code:push

  • when i run it from root app deploys but shows the src app
  • when i run it from dist there is an error below
✖ There was an error building application.
  Couldn't detect a valid source code, list of supported languages:
  https://cloud.google.com/docs/buildpacks/builders#buildergoogle-22_supported_languages)

Not sure, but…

Maybe try copying your package.json into the dist directory and do the “mapps code:push” from there.

This is how we use monday code with sveltekit. The package.json in your dist directory needs details of how to start the server.

Yes that got me to the next step. Thank you

1 Like