adnanjpg
adnanjpg
NNovu
Created by adnanjpg on 8/15/2024 in #💬│support
Self hosted limits
when using the cloud version there seems to be limits on free, business and enterprise plans. we're using novu self hosted, and I can't find any references in the code to the request limiting, is that done over another package? meaning can we push novu to production server fully sure that there's no workflow call limit?
5 replies
NNovu
Created by adnanjpg on 7/17/2024 in #💬│support
handle failure cases
Hi, Is there a way where I can configure what will happen if a step in the workflow fails? for example, send email if sms fails I've searched the docs but couldn't find info about that
3 replies
NNovu
Created by adnanjpg on 7/17/2024 in #💬│support
dotnet custom code
Hi, as mentioned in the docs in 'Using the Custom Step Result' https://docs.novu.co/workflow/custom#using-the-custom-step-result section, it states that it is possible to run custom code in all notification sending steps. I've seen an example of this for node and nextjs router, but I can't find any for dotnet, is this implemented for other sdks other than node? If so, can you produce a minimal example or a general guide that explains what kind of endpoints I should be exposing for novu to call the custom code?
7 replies
NNovu
Created by adnanjpg on 7/12/2024 in #💬│support
run locally using docker
I've added a local provider to novu that will be used for our project. I'm able to run the project locally using the 'Run Novu in local machine' guide, but I want to containarize the project and run it on my dev server, but I see there's no guide on how to do this, and no dockerfile that builds clean images of all projects I've tried running this command: pnpm i -f && pnpm run docker:build but is is failing with this error:
apps/ws docker:build: 2.946  ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In libs/application-generic: "@novu/framework@workspace:*" is in the dependencies but no package named "@novu/framework" is present in the workspace
apps/ws docker:build: 2.946 This error happened while installing a direct dependency of /usr/src/app/libs/application-generic
apps/ws docker:build: 2.946 Packages found in the workspace: root, @novu/ws, @novu/application-generic, @novu/dal, @novu/shared, @novu/testing, @novu/client, @novu/node, @novu/providers, @novu/stateless
apps/ws docker:build: ------
apps/ws docker:build: Dockerfile:32
apps/ws docker:build: --------------------
apps/ws docker:build: 31 |
apps/ws docker:build: 32 | >>> RUN --mount=type=secret,id=BULL_MQ_PRO_NPM_TOKEN,uid=1000 export BULL_MQ_PRO_NP1 | >>> pnpm install --verbose && \
apps/ws docker:build: 34 | >>> pnpm build:ws
apps/ws docker:build: 35 |
apps/ws docker:build: --------------------
apps/ws docker:build: ERROR: failed to solve: process "/bin/sh -c export BULL_MQ_PRO_NPM_TOKEN=$(cat /run/secrets/BULL_MQ_PRO_NPM_TOKEN) && pnpm install --verbose && pnpm build:ws" did not complete successfully: exit code: 1
apps/ws docker:build: Failed
/home/username/novu/apps/ws:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @novu/ws@0.24.2 docker:build: `BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker buildx build --secret id=BULL_MQ_PRO_NPM_TOKEN -f ./Dockerfile -t novu-ws ./../.. --load $DOCKER_BUILD_ARGUMENTS`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.
apps/ws docker:build: 2.946  ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In libs/application-generic: "@novu/framework@workspace:*" is in the dependencies but no package named "@novu/framework" is present in the workspace
apps/ws docker:build: 2.946 This error happened while installing a direct dependency of /usr/src/app/libs/application-generic
apps/ws docker:build: 2.946 Packages found in the workspace: root, @novu/ws, @novu/application-generic, @novu/dal, @novu/shared, @novu/testing, @novu/client, @novu/node, @novu/providers, @novu/stateless
apps/ws docker:build: ------
apps/ws docker:build: Dockerfile:32
apps/ws docker:build: --------------------
apps/ws docker:build: 31 |
apps/ws docker:build: 32 | >>> RUN --mount=type=secret,id=BULL_MQ_PRO_NPM_TOKEN,uid=1000 export BULL_MQ_PRO_NP1 | >>> pnpm install --verbose && \
apps/ws docker:build: 34 | >>> pnpm build:ws
apps/ws docker:build: 35 |
apps/ws docker:build: --------------------
apps/ws docker:build: ERROR: failed to solve: process "/bin/sh -c export BULL_MQ_PRO_NPM_TOKEN=$(cat /run/secrets/BULL_MQ_PRO_NPM_TOKEN) && pnpm install --verbose && pnpm build:ws" did not complete successfully: exit code: 1
apps/ws docker:build: Failed
/home/username/novu/apps/ws:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @novu/ws@0.24.2 docker:build: `BULL_MQ_PRO_NPM_TOKEN=${BULL_MQ_PRO_NPM_TOKEN} docker buildx build --secret id=BULL_MQ_PRO_NPM_TOKEN -f ./Dockerfile -t novu-ws ./../.. --load $DOCKER_BUILD_ARGUMENTS`
Exit status 1
 ELIFECYCLE  Command failed with exit code 1.
8 replies