[BUG] error installing the package
See original GitHub issueEnvironment
Please provide as many details as you can:
- Hosting type
- [] Form.io
- [x ] Local deployment
- Version:
- Formio.js version:
- Frontend framework:React
- Browser:
- Browser version:
Steps to Reproduce
- yarn add formio-react
- gatsby develop
Expected behavior
everything fine
Observed behavior
...
ERROR in ./node_modules/formiojs/utils/index.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in '/home/marco/projects/halleymedia/residea/node_modules/formiojs/utils'
@ ./node_modules/formiojs/utils/index.js 17:0-55
@ ./node_modules/react-formio/lib/components/SubmissionGrid.js
@ ./node_modules/react-formio/lib/components/index.js
@ ./node_modules/react-formio/lib/index.js
@ ./src/components/formSeiInteressato.js
@ ./src/templates/dettaglioImmobile.js
@ ./.cache/sync-requires.js
@ ./.cache/app.js
@ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
ERROR in ./node_modules/formiojs/utils/builder.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in '/home/marco/projects/halleymedia/residea/node_modules/formiojs/utils'
@ ./node_modules/formiojs/utils/builder.js 13:0-55
@ ./node_modules/formiojs/PDFBuilder.js
@ ./node_modules/formiojs/FormBuilder.js
@ ./node_modules/react-formio/lib/components/FormBuilder.js
@ ./node_modules/react-formio/lib/components/index.js
@ ./node_modules/react-formio/lib/index.js
@ ./src/components/formSeiInteressato.js
@ ./src/templates/dettaglioImmobile.js
@ ./.cache/sync-requires.js
@ ./.cache/app.js
@ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
ERROR in ./node_modules/formiojs/utils/utils.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in '/home/marco/projects/halleymedia/residea/node_modules/formiojs/utils'
@ ./node_modules/formiojs/utils/utils.js 49:0-55
@ ./node_modules/formiojs/Wizard.js
@ ./node_modules/react-formio/lib/index.js
@ ./src/components/formSeiInteressato.js
@ ./src/templates/dettaglioImmobile.js
@ ./.cache/sync-requires.js
@ ./.cache/app.js
@ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
ERROR in ./node_modules/formiojs/utils/formUtils.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in '/home/marco/projects/halleymedia/residea/node_modules/formiojs/utils'
@ ./node_modules/formiojs/utils/formUtils.js 31:0-55
@ ./node_modules/formiojs/utils/utils.js
@ ./node_modules/formiojs/Wizard.js
@ ./node_modules/react-formio/lib/index.js
@ ./src/components/formSeiInteressato.js
@ ./src/templates/dettaglioImmobile.js
@ ./.cache/sync-requires.js
@ ./.cache/app.js
@ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
ERROR in ./node_modules/formiojs/widgets/InputWidget.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in '/home/marco/projects/halleymedia/residea/node_modules/formiojs/widgets'
@ ./node_modules/formiojs/widgets/InputWidget.js 17:0-55
@ ./node_modules/formiojs/widgets/index.js
@ ./node_modules/formiojs/components/_classes/input/Input.js
@ ./node_modules/formiojs/components/hidden/Hidden.js
@ ./node_modules/formiojs/components/index.js
@ ./node_modules/react-formio/lib/components/Form.js
@ ./node_modules/react-formio/lib/components/index.js
@ ./node_modules/react-formio/lib/index.js
@ ./src/components/formSeiInteressato.js
@ ./src/templates/dettaglioImmobile.js
@ ./.cache/sync-requires.js
@ ./.cache/app.js
@ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
ERROR in ./node_modules/formiojs/widgets/CalendarWidget.js
Module not found: Error: Can't resolve 'core-js/modules/web.dom-collections.iterator' in '/home/marco/projects/halleymedia/residea/node_modules/formiojs/widgets'
@ ./node_modules/formiojs/widgets/CalendarWidget.js 27:0-55
@ ./node_modules/formiojs/widgets/index.js
@ ./node_modules/formiojs/components/_classes/input/Input.js
@ ./node_modules/formiojs/components/hidden/Hidden.js
@ ./node_modules/formiojs/components/index.js
@ ./node_modules/react-formio/lib/components/Form.js
@ ./node_modules/react-formio/lib/components/index.js
@ ./node_modules/react-formio/lib/index.js
@ ./src/components/formSeiInteressato.js
@ ./src/templates/dettaglioImmobile.js
@ ./.cache/sync-requires.js
@ ./.cache/app.js
@ multi ./node_modules/event-source-polyfill/src/eventsource.js (webpack)-hot-middleware/client.js?path=/__webpack_hmr&reload=true&overlay=false ./.cache/app
...
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Fixed: “There is a problem with this Windows installer package ...
In this article, you will learn how to fix the “There is a problem with this Windows installer package” error on Windows 10....
Read more >How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, or upgrade a program on a Windows-based computer by using Windows Installer....
Read more >How to Fix Windows Installer Package Problem [Tutorial]
How To Fix Windows Installer Package Problem. Registry Entry: msiexec /i "%1"Most programs can be installed on Windows computer normally.
Read more >[Bug?]: Error installing package from github url · Issue #3194
I tried to use update to npm 7 and I get the same error. It doesn't complain about This version of npm is...
Read more >Error in installation a R package - Stack Overflow
The part that worked for me was to quit RStudio, delete the package from the libs directory and re-install from vanilla R. Thanks...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What version of core-js is your app using? react-formio uses verison 3 so if there is a mismatch you may get this error.
Gatsby has upgraded core-js (see https://github.com/gatsbyjs/gatsby/issues/15601). That upgrade resolved the issue for me.
I believe this issue can be closed