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.

Error hit when instantiating remote template: Trying to copy from a source that does not exist: AppData\Roaming\BotFrameworkComposer\.yo-repository\node_modules\@microsoft\generator-bot-empty\generators\app\templates\botName.dialog

See original GitHub issue

Error

Error hit when instantiating remote template: Trying to copy from a source that does not exist: C:\Users\anyRandomUser\AppData\Roaming\BotFrameworkComposer.yo-repository\node_modules@microsoft\generator-bot-empty\generators\app\templates\botName.dialog

Environment

about Bfc

Version: 2.1.2 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0

PS C:\Users\anyRandomUser> node --version
v14.17.6
PS C:\Users\anyRandomUser> ls C:\Users\anyRandomUser\AppData\Roaming\BotFrameworkComposer\.yo-repository\node_modules\@microsoft\generator-bot-empty\generators\app\templates

    Directory: C:\Users\anyRandomUser\AppData\Roaming\BotFrameworkComposer\.yo-repository\node_modules\@microsoft\generator-bot-empty\generators\app\templates

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----          2022-05-13    11:17                knowledge-base
d----          2022-05-13    11:17                language-generation
d----          2022-05-13    11:17                language-understanding
d----          2022-05-13    11:17                recognizers
-a---          1979-12-31    16:00           2468 botName.dialog
-a---          1979-12-31    16:00           2132 README.md

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:13

github_iconTop GitHub Comments

1reaction
ryanisgrigcommented, May 23, 2022

I had someone internally here test out my steps, but that did not appear to be enough. I believe I also removed that directory you suggested. Once my colleague removed the /.yo-repository as you suggested it worked for them.

1reaction
tamborellocommented, May 23, 2022

It turned out the answer for me was to uninstall both Bot Framework Composer and Node and to delete my BotFrameworkComposer directory, [system drive]/Users/[username][/AppData/Roaming/BotFrameworkComposer/.yo-repository/node-modules/@microsoft](mailto:/AppData/Roaming/BotFrameworkComposer/. I then Reinstalled composer and Node 14.6.0. I can now open the Empty Bot template and add a dialog element.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error hit when instantiating remote template: #8927 - GitHub
Steps to reproduce the behavior: try to create a new bot using Enterprise Bot Template. Expected behavior. An enterprise bot is created using ......
Read more >
Component Copying
Component copying (copying components from one component file to another) enables you to use existing components in the context of a template different...
Read more >
Paste Special Dialog Box - Toon Boom Documentation
Paste Special Dialog Box ; Copy symbols if they do not exist ; Duplicate symbols ; Paste all Frames of the symbol (full...
Read more >
Initial publish of an Instant Clone desktop pool image fails and ...
When creating an Instant Clone desktop pool, the initial publish of an image fails with an error message such as "After waiting for...
Read more >
Adding a shared template to your account
The template is copied to your account. Notes. After you've copied a template to your account, the template sharing link is no longer...
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