dr.really
dr.really
NNovu
Created by dr.really on 10/13/2024 in #🚀│general
How to start Local Studio without starting the Local Tunnel?
Pretty much the title. According to this: https://docs.novu.co/community/self-hosting-novu/deploy-with-docker#local-tunnel-and-self-hosted-deployments it says we more than likely wont need the local tunnel support, however I can't seem to find out how to run the Local Studio without running the local tunnel
4 replies
NNovu
Created by dr.really on 8/27/2024 in #🚀│general
v2 release date
I know I keep asking, but does anyone know when we might see the self-hosted version of the novu framework be released? I've seen in a couple of posts it was to be at the end of August but just wanted to confim. Thanks!
68 replies
NNovu
Created by dr.really on 1/5/2024 in #💬│support
Adding a new Credentials Enum
No description
14 replies
NNovu
Created by dr.really on 12/29/2023 in #🚀│general
AWS SNS Specify Phone Number
How does one go about letting Novu know which phone number to use to send a text via the SNS integration? Wasn't sure if this needed to be done via Novu or via IAM in AWS.
7 replies
NNovu
Created by dr.really on 8/30/2023 in #💬│support
InMemory Cluster Error
I'm getting the following connection error with the [email protected]
{"level":50,"time":1693409349835,"pid":18,"serviceName":"@novu/worker","serviceVersion":"0.17.1","platform":"Docker","tenant":"OS","context":"InMemoryCluster","msg":"There has been an error in the InMemory Cluster provider client"}
{"level":50,"time":1693409349835,"pid":18,"serviceName":"@novu/worker","serviceVersion":"0.17.1","platform":"Docker","tenant":"OS","context":"InMemoryCluster","msg":"There has been an error in the InMemory Cluster provider client"}
I'm connected ElastiCache Redis in AWS but can't figure out what's causing this issue. Any ideas?
7 replies
NNovu
Created by dr.really on 6/16/2023 in #💬│support
CORS issue
Trying to get thing stood up in AWS, however I'm running into a CORS issue. I have the API running at https://novu.mydomain.com, and the web variant running at https://web-novu.internal.com. I have set the FRONT_BASE_URL environment to https://web-novu.internal.com/ and my NODE_ENV is production as per other CORS issues I found before creating this post. When I navigate to the login screen, and attempt to login, I get the CORS preflight error.
Access to XMLHttpRequest at 'https://novu.mydomain.com/v1/auth/login' from origin 'https://web-novu.internal.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'https://novu.mydomain.com/v1/auth/login' from origin 'https://web-novu.internal.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Currently running v0.15.0
37 replies
NNovu
Created by dr.really on 3/28/2023 in #💬│support
novu/[email protected] failing to start on docker
Good morning! Get the following error when attempting to start novu/[email protected] via the Docker image:
ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND  No package.json (or package.yaml, or package.json5) was found in "/usr/src/app".
ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND  No package.json (or package.yaml, or package.json5) was found in "/usr/src/app".
12 replies
NNovu
Created by dr.really on 3/15/2023 in #💬│support
.NET SDK
I'm creating this support item to gauge the need / priority for a .net sdk. I'm looking at creating one so that I can use it in the app stack I am currently building for work, but wanted to see what Novu's direction was and to see what others thought as well. 🙂
27 replies
NNovu
Created by dr.really on 3/9/2023 in #💬│support
Web Socket service under path?
hey does anyone know if we can self hosted the web socket service under a path? i.e novu.domain.com for the base api and then novu.domain.com/ws for the web socket service? Thanks!
14 replies
NNovu
Created by dr.really on 12/28/2022 in #💬│support
[0.10.0] o.div is not a function
Getting the following after upgrading everything to 0.10.0, comment out all thinks from the @novu/notification-center and the error goes away:
TypeError: o.div is not a function
at Object.<anonymous> (<redacted>\node_modules\.pnpm\@novu+notification-center@0.10.0_2zx2umvpluuhvlq44va5bta2da\node_modules\@novu\notification-center\src\components\notification-center\components\layout\header\Header.tsx:99:28)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (D:\code\monorepo\firefly\apps\web\app\routes\__admin.tsx:7:30)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
TypeError: o.div is not a function
at Object.<anonymous> (<redacted>\node_modules\.pnpm\@novu+notification-center@0.10.0_2zx2umvpluuhvlq44va5bta2da\node_modules\@novu\notification-center\src\components\notification-center\components\layout\header\Header.tsx:99:28)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Module.require (node:internal/modules/cjs/loader:1061:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (D:\code\monorepo\firefly\apps\web\app\routes\__admin.tsx:7:30)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
28 replies
NNovu
Created by dr.really on 12/28/2022 in #💬│support
v0.10 email template editor brand logo not contained within top card
6 replies
NNovu
Created by dr.really on 12/26/2022 in #💬│support
env.sh not found - docker
When running commands to deploy @Novu/web on the dev tag and the prod tag, getting the following error:
@novu/[email protected] envsetup:docker /usr/src/app/apps/web
chmod +x ./env.sh && ./env.sh && mv ./env-config.js ./build/env-config.js

sh: ./env.sh: not found
 ELIFECYCLE  Command failed.
 ELIFECYCLE  Command failed with exit code 1.
@novu/[email protected] envsetup:docker /usr/src/app/apps/web
chmod +x ./env.sh && ./env.sh && mv ./env-config.js ./build/env-config.js

sh: ./env.sh: not found
 ELIFECYCLE  Command failed.
 ELIFECYCLE  Command failed with exit code 1.
when looking, it appears that there are no env.sh files located in the Dockerfile
13 replies
NNovu
Created by dr.really on 12/6/2022 in #💬│support
Fetching notifications on socket event
What I'm trying to do is get a Mantine popup notification when I get a new Notification from Novu. Here is what I'm trying to do (code below). Yet when I log out the notifications, it's just an empty array, even after the refetch() call. Any ideas?
const { socket: novuSocket } = useSocket();
const { notifications, refetch, markAsSeen } = useNotifications();

const handleNewNotification = async () => {
await refetch();
console.log(notifications)
notifications.forEach((n) => {
showNotification({
id: n._id,
title: 'New Notification',
message: `${n.content}`,
autoClose: false,
onClose: ({ id }) => {
markAsSeen(id);
}
})
})
}

useEffect(() => {
if (novuSocket) {
novuSocket.on('unseen_count_changed', async (data) => {
console.log(data);
handleNewNotification();
});
}

return () => {
if (novuSocket) {
novuSocket.off('unseen_count_changed');
}
}
}, [novuSocket])
const { socket: novuSocket } = useSocket();
const { notifications, refetch, markAsSeen } = useNotifications();

const handleNewNotification = async () => {
await refetch();
console.log(notifications)
notifications.forEach((n) => {
showNotification({
id: n._id,
title: 'New Notification',
message: `${n.content}`,
autoClose: false,
onClose: ({ id }) => {
markAsSeen(id);
}
})
})
}

useEffect(() => {
if (novuSocket) {
novuSocket.on('unseen_count_changed', async (data) => {
console.log(data);
handleNewNotification();
});
}

return () => {
if (novuSocket) {
novuSocket.off('unseen_count_changed');
}
}
}, [novuSocket])
8 replies
NNovu
Created by dr.really on 11/25/2022 in #💬│support
TypeError Cannot read properties of null (reading 'activeTabStoreId')
When using the PopoverNotificationCenter v0.9.2, I'm getting a TypeError: Cannot read properties of null (reading 'activeTabStoreId') error when loading. I am self hosting it locally on docker and have set up the props on the Provider. I'm about to test it against the hosted version
54 replies
NNovu
Created by dr.really on 11/25/2022 in #💬│support
What do the different NODE_ENV do?
I can't seem to find any documentation on what each NODE_ENV's actually change. Can someone shoot me a TLDR? 😄 🙏
6 replies
NNovu
Created by dr.really on 11/23/2022 in #💬│support
Type 'MyProvider' is not assignable to type 'ISmsProvider'
32 replies
NNovu
Created by dr.really on 11/19/2022 in #💬│support
Cannot assign to read only property 'unseenBadgeBackgroundColor' of object 'Object'
Getting the above stated issue when attempting to use the notification center as per docs (react component). I did find that there was a PR that was created and merged for this issue. Here is the code in use:
<PopoverNotificationCenter onNotificationClick={() => { console.log('onclick') }} colorScheme={'dark'}>
{({ unseenCount }) => <NotificationBell unseenCount={unseenCount} />}
/PopoverNotificationCenter>
<PopoverNotificationCenter onNotificationClick={() => { console.log('onclick') }} colorScheme={'dark'}>
{({ unseenCount }) => <NotificationBell unseenCount={unseenCount} />}
/PopoverNotificationCenter>
Referenced PR: https://github.com/novuhq/novu/pull/2010
37 replies
NNovu
Created by dr.really on 11/16/2022 in #💬│support
Unable to test MS Teams
20 replies
NNovu
Created by dr.really on 11/16/2022 in #💬│support
Nodemailer with Office 365
I'm trying to get the nodemailer set up with outlook in office365, however when doing so I'm getting a connect ECONNREFUSED 146.112.193.27:587 error message. I think this is due to not being able to set the Encryption method. Here are the connection settings required:
Server name: smtp.office365.com
Port: 587
Encryption method: STARTTLS
Server name: smtp.office365.com
Port: 587
Encryption method: STARTTLS
5 replies