question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

when running update schema there are 2 packages with the same name

See original GitHub issue

Describe 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:

  1. Go to runtime foloder
  2. run npm i -g @microsoft/botframework-cli ; npm run build
  3. go to schemas folder
  4. run sh ./update-schema.sh

Expected behavior

the schema to be updated successfully

Screenshots

image image image

image image

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:closed
  • Created 2 years ago
  • Comments:13 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jsia9commented, May 28, 2021

ok Thank you @anusharavindrar . then please close the ticket. Reinstalling botbuilder-ai fixed the issue.

0reactions
anusharrcommented, May 27, 2021

@jamalsia, yes installed both botbuilder-dialogs-declarative and botbuilder-ai while testing. Also, what version of the node are you on?

MicrosoftTeams-image (2)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Possible to use two java classes with same name and same ...
Yes there is. You would need to implement your own Classloader and play some games to be able to access both during runtime....
Read more >
Can we create 2 objects with same name in single schema?
To answer your original question, you can't have two objects of the same or similar types (e.g., two tables, or a table and...
Read more >
Multiple tables with the same name in the same schema. #5578
Not sure how to reproduce the issue, but we are seeing multiple tables in the same schema that have the same name. I...
Read more >
Schema Evolution and Compatibility - Confluent Documentation
When a schema is first created for a subject, it gets a unique id and it gets a version number, i.e., version 1....
Read more >
Documentation: 15: 5.9. Schemas - PostgreSQL
A PostgreSQL database cluster contains one or more named databases. ... names means that there cannot be different roles named, say, joe in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found