N
Novu4mo ago
LUCKY

Novu 2.0.0 Package is breaking tests

Dear Novu @Support We just added the new 2.0.0 package and our tests are failing even without touching the code in our tests. Do you know the reason why?
Cannot find module '@novu/shared/utils' from '../../node_modules/@novu/node/build/main/lib/novu.js'
Many thanks
No description
12 Replies
Pawan Jain
Pawan Jain4mo ago
@LUCKY can you share the package name? is it @novu/node ?
LUCKY
LUCKYOP4mo ago
npm
novu
Novu CLI. Run Novu Studio and sync workflows with Novu Cloud. Latest version: 2.0.0, last published: 4 hours ago. Start using novu in your project by running npm i novu. There are no other projects in the npm registry using novu.
LUCKY
LUCKYOP4mo ago
yes! we had it in the canaries too and thought, maybe we should wait
Pawan Jain
Pawan Jain4mo ago
npm
@novu/node
Notification Management Framework. Latest version: 2.0.0, last published: 4 hours ago. Start using @novu/node in your project by running npm i @novu/node. There are 7 other projects in the npm registry using @novu/node.
Pawan Jain
Pawan Jain4mo ago
0.24.2
LUCKY
LUCKYOP4mo ago
No description
LUCKY
LUCKYOP4mo ago
Thanks @Pawan Jain , it seems not be working maybe it's an issue because we use a monorepository (yarn workspaces and lerna) is it ESM only?
LUCKY
LUCKYOP4mo ago
No description
LUCKY
LUCKYOP4mo ago
I think we're going to use the HTTP API directly for now
Pawan Jain
Pawan Jain4mo ago
Hey @LUCKY We are working on resolving this
LUCKY
LUCKYOP4mo ago
Thanks @Pawan Jain
Pawan Jain
Pawan Jain4mo ago
@LUCKY Could you please try version 2.0.1 https://www.npmjs.com/package/@novu/node/v/2.0.1
Want results from more Discord servers?
Add your server