when running update schema there are 2 packages with the same name
See original GitHub issueDescribe the bug
when running sh ./update-schema.sh
i am getting
Running schema merge on nodejs runtime. Finding component files Error conflicting definitions of Microsoft.IDialog.schema botbuilder-dialogs-declarative: /Users/vanilla/git_repo/AOSREbot/runtime/node_modules/botbuilder-ai/node_modules/botbuilder-dialogs-declarative/schemas/Microsoft.IDialog.schema botbuilder-dialogs-declarative: /Users/vanilla/git_repo/AOSREbot/runtime/node_modules/botbuilder-dialogs-declarative/schemas/Microsoft.IDialog.schema
Version
1.4.1
Browser
Emulator Teams
- Electron distribution
- [x ] Chrome
- Safari
- Firefox
- Edge
OS
- [x ] macOS
- Windows
- Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Go to runtime foloder
- run npm i -g @microsoft/botframework-cli ; npm run build
- go to schemas folder
- run sh ./update-schema.sh
Expected behavior
the schema to be updated successfully
Screenshots
Additional context
{ "$schema": "https://raw.githubusercontent.com/microsoft/botframework-sdk/master/schemas/component/component.schema", "type": "object", "title": "Component kinds", "description": "These are all of the kinds that can be created by the loader.", "oneOf": [ { "$ref": "#/definitions/AkaDiagErrStrDialog" }, {
[…]
"definitions": { "AkaDiagErrStrDialog": { "$role": "implements(Microsoft.IDialog)", "title": "AkaDiagErrStr", "description": "This will return the translated CDN Error String", "type": "object", "$package": { "name": "node-runtime", "version": "1.0.0" },
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (1 by maintainers)
Top GitHub Comments
ok Thank you @anusharavindrar . then please close the ticket. Reinstalling botbuilder-ai fixed the issue.
@jamalsia, yes installed both
botbuilder-dialogs-declarative
andbotbuilder-ai
while testing. Also, what version of the node are you on?