According to this issue https://github.com/monicahq/monica/issues/6489, it seems that the installation done by the script follows a dev config and not a user cofig. Indeed, yarn install will install also install dev dependencies since NODE_ENV is not set (according to the logs). I do not know of best practices in yunohost apps, but either NODE_ENV should be set to production or yarn install should be called with option --production=true
Context
Hardware: Raspberry Pi at home
YunoHost version: 11.2.9.1
I have access to my server: through the webadmin then through the cli
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Using, or trying to install package version/branch: 4.0.0~ynh2
Describe the bug
The installation fails. According to the logs, it seems to be because cypress is no longer available at the designated url :
When I go to the filing url https://download.cypress.io/desktop/7.7.0?platform=linux&arch=ia32 through my browser, the link indeed does not work.
According to this issue https://github.com/monicahq/monica/issues/6489, it seems that the installation done by the script follows a dev config and not a user cofig. Indeed,
yarn install
will install also install dev dependencies sinceNODE_ENV
is not set (according to the logs). I do not know of best practices in yunohost apps, but eitherNODE_ENV
should be set toproduction
oryarn install
should be called with option--production=true
Context
Steps to reproduce
sudo yunohost app install monica
Expected behavior
Installation should succeed
Logs
yunohost logs