AxisCommunications / backstage-plugins

Backstage Plugins Created by Axis Communications
MIT License
32 stars 17 forks source link

backend.add not working #161

Closed piyush94 closed 3 months ago

piyush94 commented 3 months ago

Please do not disclose security vulnerabilities as issues. See our security policy for responsible disclosures.

import("/Backstage/POC_Backstage/node_modules/@axis-backstage/plugin-jira-dashboard-backend/dist/index")>' is not assignable to parameter of type 'BackendFeature | Promise<{ default: BackendFeature; }>'. Type 'Promise<typeof import("/Backstage/POC_Backstage/node_modules/@axis-backstage/plugin-jira-dashboard-backend/dist/index")>' is not assignable to type 'Promise<{ default: BackendFeature; }>'. Type 'typeof import("/Backstage/POC_Backstage/node_modules/@axis-backstage/plugin-jira-dashboard-backend/dist/index")' is not assignable to type '{ default: BackendFeature; }'. Types of property 'default' are incompatible. Type '() => BackendFeature' is not assignable to type 'BackendFeature'.

68 backend.add(import('@axis-backstage/plugin-jira-dashboard-backend'));

package.json:

"@axis-backstage/plugin-jira-dashboard-backend": "^2.4.0"

anicke commented 3 months ago

I think we just need to bump the dependencies. Hopefully #160 should fix this.

piyush94 commented 3 months ago

Yes, I suspect the same. I am waiting for the new NPM package to be released.

anicke commented 3 months ago

Packages for 1.30 has been published!

piyush94 commented 3 months ago

Thanks! @anicke. It's working now.