Skip to main content

Converting Slack-Node welcome app to TS

  • September 11, 2024
  • 2 replies
  • 58 views

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)

2 replies

dvdsmpsn
Forum|alt.badge.img+1
  • Participating Frequently
  • September 12, 2024

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