Access storage from backend in Monday.com Apps published in monday code

Hi community,

I’am trying app development with monday code. I use the full stack exemple as a base. I have been able to publish to monday code.

I am having difficulties with storage. I tried to use monday.storage but I saw in the community that it was for from end only.

Then, I saw a link to @mondaycom/apps-sdk. I installed it, added some code to get/set item. I have been able to run it locally ( npm run dev-server)

When I try to deploy to monday code, I’ve got the following error :
:heavy_check_mark: Build asset to deploy
:heavy_check_mark: Preparing environment
:heavy_check_mark: Asset uploaded successfully
:heavy_multiplication_x: There was an error deploying the application.
========== Logs ==========
node:internal/modules/cjs/loader:1228
throw err;
^
Error: Cannot find module ‘@mondaycom/apps-sdk’
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/workspace/dist/services/.js’,
'/workspace/dist/routes/
.js’,
‘/workspace/dist/routes/.js’,
'/workspace/dist/
.js’
]

When I remove @mondaycom/apps-sdk from my project, I am able to publish to monday code.

Could you please help and let me know how I can manage the storage from the backend?

Thank you

Hello there @leahn and welcome to the community!

Would you be able to please fill this form adding as much information as possible to it (such as account ID, app ID, timestamps, the full data you get when you run your command using --verbose at the end of it, etc.) so that our team can take a look into it?

Hello @Matias.Monday thank you for your message. I filled the form.

Thank you @leahn !