Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Issue with installing the Bot Framework (CLI) tool dependencies for the Virtual Assistant walkthrough #1408

@rickengle

Description

@rickengle

Project

Name:

Language:

Description

I ran the node package manager command:
5. Download and install the Bot Framework (CLI) tool dependencies. It's important to do this even if you have earlier versions as the Virtual Assistant makes use of the latest capabilities:
npm install -g botdispatch ludown@1.2.0 luis-apis qnamaker luisgen@2.0.2 botskills

But when I run that I get 2 errors which I think relate to already having had earlier versions of the CLI installed:

PS C:\Users\ricke> npm install -g botdispatch ludown@1.2.0 luis-apis qnamaker luisgen@2.0.2 botskills
npm WARN deprecated hoek@5.0.4: This version is no longer maintained. Please upgrade to the latest version.

luisgen@2.0.2 preinstall C:\Users\ricke\AppData\Roaming\npm\node_modules\luisgen
node dotnetpreinstall.js

C:\Users\ricke\AppData\Roaming\npm\dispatch -> C:\Users\ricke\AppData\Roaming\npm\node_modules\botdispatch\bin\dispatch.js
C:\Users\ricke\AppData\Roaming\npm\botskills -> C:\Users\ricke\AppData\Roaming\npm\node_modules\botskills\lib\botskills.js
C:\Users\ricke\AppData\Roaming\npm\ludown -> C:\Users\ricke\AppData\Roaming\npm\node_modules\ludown\bin\ludown
C:\Users\ricke\AppData\Roaming\npm\luis -> C:\Users\ricke\AppData\Roaming\npm\node_modules\luis-apis\bin\luis.js
C:\Users\ricke\AppData\Roaming\npm\qnamaker -> C:\Users\ricke\AppData\Roaming\npm\node_modules\qnamaker\bin\qnamaker.js

luisgen@2.0.2 install C:\Users\ricke\AppData\Roaming\npm\node_modules\luisgen
dotnet tool install -g LUISGen

Tool 'luisgen' is already installed.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! luisgen@2.0.2 install: dotnet tool install -g LUISGen
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the luisgen@2.0.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

What’s the best workarounds to resolving these errors so that the prerequisites can be updated properly?

To Reproduce

npm install -g botdispatch ludown@1.2.0 luis-apis qnamaker luisgen@2.0.2 botskills

Expected behavior

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions