react-calendar-feed - Webpack v5 polyfills error when running gulp bundle #5148
Labels
sample: react-calendar-feed
status:no-recent-activity
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Disclaimer
Yes
Sample
react-calendar-feed
Contributor(s)
@hugoabernier @petkir
What happened?
I'm trying to build this webpart (React Calendar Feed), but when I try to
gulp bundle
I run into the followingwebpack
error regarding the automatic inclusion of polyfills (screenshot attached at the end of this message)I found other mentions of this (general) problem for other apps, e.g.
However, I was not succesful in applying the proposed solutions to this webpart. If this issue is known for the react-calendar-feed webpart, I would appreciate if someone could help me implementing the solution. Thank you.
Screenshot of error message:
Steps to reproduce
npm install
gulp build
gulp bundle --ship
Expected behavior
I expected
gulp bundle --ship
to run without an error message.Target SharePoint environment
SharePoint Online
Developer environment
Windows
Browsers
What version of Node.js is currently installed on your workstation?
v16.20.2
What version of Node.js is required by the sample?
v16/v14/v12
Paste the results of SPFx doctor
CLI for Microsoft 365 SharePoint Framework doctor
Verifying configuration of your system for working with the SharePoint Framework
✅ SharePoint Framework v1.15.0
✅ Node v16.20.2
✅ yo v4.3.1
✅ gulp-cli v2.3.0
✅ bundled typescript used
Additional environment details
No response
The text was updated successfully, but these errors were encountered: