Two dependencies of the React component of the Official Rasa Chat Widget are missing:
@rasahq/rasa-api
@rasahq/rasa-ui
Am I doing it correctly? I am using this command:
$ yarn add @rasahq/rasa-chat
yarn add v1.22.17
...
[1/4] Resolving packages...
error Could not find package `@rasahq/rasa-api@workspace:*` required by `@rasahq/rasa-chat` on the `npm` registry.
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
Error: Could not find package `@rasahq/rasa-ui@workspace:*` required by `@rasahq/rasa-chat` on the `npm` registry.
I have tried installing the dependencies.
With Yarn and with rpm and it doesn’t find them.
yarn add @rasahq/rasa-chat
yarn add v1.22.19
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
error An unexpected error occurred: "https://registry.yarnpkg.com/@rasahq%2frasa-api: Not found".
npm install -g @rasahq/rasa-chat
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@rasahq%2frasa-api - Not found
npm ERR! 404
npm ERR! 404 '@rasahq/rasa-api@0.0.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of '@rasahq/rasa-chat'