-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
notification plugin not working with cap project with cds =>8.0.0 #71
Comments
In particular build script should be updated: Here is a sample commit. |
I am getting the same error .[2024-09-30 16:12:04] INFO executing the "npx cds build --production" command... cds -v output: @cap-js/asyncapi: 1.0.2 |
Build comman is fixed now however ❗️ ERROR on server start: ❗️
TypeError: Cannot read properties of undefined (reading 'Plugin')
at Object.<anonymous> (/home/user/projects/freshairmanager/node_modules/@cap-js/notifications/lib/build.js:5:67) During plugin initialization easy fix: in file const cds = require("@sap/cds/lib");
if (cds.cli.command === "build") {
// register build plugin
cds.build?.register?.('notifications', require("./lib/build"));
} |
notification plugin not working with cap project with cds =>8.0.0
The text was updated successfully, but these errors were encountered: