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 :
Build asset to deploy
Preparing environment
Asset uploaded successfully
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