Closed wesclusa1980 closed 7 months ago
Hi @wesclusa1980 thanks for opening an issue.
As you've noticed, the @lg-chat/* packages are currently hosted on our private internal package repository and are not publicly available. We're working on moving them to npm but for now you won't be able to install them or develop the UI locally.
Hopefully we'll have an update on this in the coming weeks but those components are owned by another internal team at MongoDB and we have to go through a process to open source them.
You can use the chatbot UI components in your own project if you install the package published on npm:
npm install mongodb-chatbot-ui
this works:
"mongodb-chatbot-ui": "^0.2.1",
but not this:
"mongodb-chatbot-ui": "^0.3.0",
it gives the error % npm i
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@lg-chat%2fmessage-feedback - Not found
this works: "mongodb-chatbot-ui": "^0.2.1", but not this: "mongodb-chatbot-ui": "^0.3.0",
Oops that's my mistake. Since this is currently an internal MongoDB package we need to bundle the dependency and I forgot to add it to the list! Right now it's trying to find it on npm and failing. Once we've moved lg-chat
to npm (we're currently working on it) this class of error will go away entirely.
In the meantime I'll cut a new release of mongodb-chatbot-ui
today that bundles the message feedback component.
Ok you should be able to install and run the latest UI version!
npm install mongodb-chatbot-ui@^0.3.1
when installing the sample code, i get the following: npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@lg-chat%2fchat-disclaimer - Not found npm ERR! 404 npm ERR! 404 '@lg-chat/chat-disclaimer@^2.0.0' is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in: /Users/willesclusa/.npm/_logs/2024-02-07T03_17_36_566Z-debug-0.log
This applies to all the @lg dependancies.