#Getting error while deploying our Vue 3 app which uses @Novu/notification-center-vue

1 messages · Page 1 of 1 (latest)

chrome root
#

We are getting error while deploying our Vue 3 app which uses @mystic badger/notification-center-vue to show the notifications. Someone please help us to resolve it. Following is the error log:

254#34 8.415  ERR_PNPM_NO_OFFLINE_TARBALL  A package is missing from the store but cannot download it in offline mode. The missing package may be downloaded from https://github.com/LetItRock/floating-vue/raw/main/packages/floating-vue/floating-vue-2.0.0-beta.21.tgz.
255#34 ERROR: executor failed running [/bin/sh -c pnpm install -r --frozen-lockfile --shamefully-hoist --offline]: exit code: 1

full ledge
#

hi @chrome root
where are you deploying.
We deployed on vercel recently, We did not face any error

chrome root
mystic badgerBOT
#

@chrome root, you just advanced to level 1!

chrome root
#

That's where our app deployed

torpid lagoon
#

My suggestion here is that you try to reinstall the packages. Feels like your internet might have tripped during the installation this the NO OFFLINE error. @chrome root

chrome root
#

I think this is what causing the issue

#

The floating-vue package used in @mystic badger/notificaiton-center-vue is a forked version of floating-vue

#

We've tried replacing it with original version of floating-vue, the deployment was success without any error

#

Could someone from <@&986249240693080067> team replace this package dependancy for @mystic badger/notificaion-center-vue ?

torpid lagoon
frosty grail
#

@chrome root if you are facing any issues downloading that package it might be because ISP is blocking it: #1060460704160825354 message

the forked version of that library has a fix without which the notification center popover won't work...

#

the original library is not maintained 😦

chrome root
#

For your information @frosty grail

full ledge
#

Can you please retry after changing your internet connection.
Mobile data to wifi or wifi to mobile data or to different operator

chrome root
#

This is recorded on the deployed version of the app where notification is working without any issue with the floating-vue version replaced with original package

frosty grail
#

@chrome root it works visually...
But the problem is that the component is mounted every time you do open it, so it's not preserving it's internal state. If you open the network tab you will see that the session is initialized on every open and all the requests are fetched. This is not optimal and the forked version has a fix for that.
We might consider pushing that forked version to npm.

chrome root
#

Got it, I've checked the PR you've raised for the issue. Please consider pushing forked version to npm and use that in @mystic badger/notification-center-vue so the ISP blocking issue won't be there

#

Thank you in advance

frosty grail
#

sorry about the troubles 🙂 cc @sweet ermine

chrome root
#

@frosty grail Shall we expect the new version of @mystic badger/notificaiton-center-vue with forked version of floating-vue used as npm package

frosty grail
chrome root
#

Thank you @frosty grail

mystic badgerBOT
#

@chrome root, you just advanced to level 2!

chrome root
#

Hi @frosty grail Any update on releasing new version of @mystic badger/notificaiton-center-vue?

frosty grail
#

@chrome root hey, we've decided to publish our own fork of floating-vue... but can't say when it will happen...

chrome root
#

Hi @frosty grail thank you for the update. But we'll be eagerly waiting for the new release of the Vue component with forked version of floating-vue used.

frosty grail
chrome root
#

Hi @frosty grail Thank you so much for the update. We'll definitely use the new version.

#

Hey, We're trying to change the theme of the Novu notification center component dynamically by the theme toggle option we've in the app which changes the theme of the Novu notification center also. Theme is changing but we are getting some warnings in the console. See If you can help to resolve this issue.

Thank you in advance.