Skip to content
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

react-azure-openai-connector - Not working after deployment #5151

Closed
navasdeveloper opened this issue May 20, 2024 · 5 comments
Closed

react-azure-openai-connector - Not working after deployment #5151

navasdeveloper opened this issue May 20, 2024 · 5 comments

Comments

@navasdeveloper
Copy link

Disclaimer

Yes

Sample

https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-azure-openai-connector

Contributor(s)

@luismanez

Question

I am able to replicate the solution in workbench but it is not working after deployment. Can you please provide some suggestion?
I am getting "something went wrong- Cannot read property of undefined-(Read 'Id')" error.
I cloned the solution having same package.json

@luismanez
Copy link
Contributor

What you mean by having the same package.json? ...

Can you try what I said here: #5128 (comment)

@navasdeveloper
Copy link
Author

I cloned the solution and ran npm install and made necessary changes. It works in local workbench. But when deployed throwing same error mentioned in above commenthttps://github.com/pnp/sp-dev-fx-webparts/issues/5128#issuecomment-2074470740. Any suggesions

@luismanez
Copy link
Contributor

My only suggestion is trying to set exact npm versions, and for that, you need to edit the package.json and leave only the version number of all packages (removing the symbols like ^ or ~, etc).

Copy link

This issue has been marked as stale due to no progress in over 90 days. If you are still experiencing this issue, please provide additional information so we can help you resolve it.

Copy link

Closing this issue due to lack of activity. If you are still encountering this issue, please do not hesitate to open a new issue. Make sure to follow the guidance on how to create good issues to increase your chances of getting the help you deserve.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants