-
Notifications
You must be signed in to change notification settings - Fork 18
Fixed a bug that prevent searching in the chatbot. #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed a bug that prevent searching in the chatbot. #2
Conversation
* Added a small method to re-load the file in case something changes after running the application for the first time
package.json
Outdated
}, | ||
"dependencies": { | ||
"mongodb-chatbot-server": "^0.9.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi, i'm not sure if this is the right place. think it should be in the packages' package.json
files.
such as - https://github.com/mongodb-university/cookbook-chat/blob/main/packages/ingest/package.json#L13
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mongodben , I don't see a package.json
inside the directory packages
. The only one I could find is in the root directoy and adding that line and installing the packages it make the error go away.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right but inside the subdirectories of packages
, like packages/ingest
(as in the above link), you find the package.json files. in this case, packages/server/package.json
should be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
once you add to the correct location, remove from the root package.json, all should be good. though it's worth doing a quick validation by running the server
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @mongodben , I believe this is now done. Please let me know if you need something from my side.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for this!
README.md
, there was an error thrown:Responding with 500 status and error message: invalid parameter: expected an object (filter).
.env
file in case something changes after running the application for the first time.