Skip to content

react-calendar - After cloning again and re-uploading to App Catalog, the webpart no longer works. #5474

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

Closed
ekcreditman opened this issue May 8, 2025 · 1 comment

Comments

@ekcreditman
Copy link

Disclaimer

Yes

Sample

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

Contributor(s)

@hugoabernier

Question

  • Cloned the repository
  • Ran 'npm i', 'gulp build', 'gulp bundle --ship', and 'gulp package-solution --ship' for react-calendar
  • Uploaded the package to App Catalog again
  • Now, the webpart runs into errors "Something went wrong. If the problem persists, contact the site administrator and give them the information in Technical Details. Technical Details ERROR: [object Object]". Along with the below error message in 'Inspect'

Image

Surprisingly, when I serve/run it locally on my workbench.aspx, the webpart shows up. However, when I change the value of 'Site Url', it's not able to retrieve existing lists in that site. I repeated this process but the result was the same.

Is there a way to troubleshoot or is there a way to fresh install it from very scratch?

ps. Just for testing, I used two other samples/webparts to upload to App Catalog, and I confirm they both present and function correctly.

@ekcreditman
Copy link
Author

Fixed - I cleared cache on my browser and deployed it again after building/packaging it.

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

1 participant