You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I migrated a react application to single-spa and I need to render a Parcel within my application. Imported as a common application, the other app works normally but when trying to place it with a Parcel, I cannot import the application. As the application is using version 18 of React, I cannot use System.import() to import the Parcel and when I try to use just import() the module is not found.
<Parcel config={()=>import('@ouribank/test')} /> This generate the following error:
application '@ouribank/test' died in status LOADING_SOURCE_CODE: Cannot convert undefined or null to object
TypeError: application '@ouribank/test' died in status LOADING_SOURCE_CODE: Cannot convert undefined or null to object
at hasOwnProperty ()
at http://localhost:3000/static/js/bundle.js:11191:41
at async Promise.all (index 0)
I migrated a react application to single-spa and I need to render a Parcel within my application. Imported as a common application, the other app works normally but when trying to place it with a Parcel, I cannot import the application. As the application is using version 18 of React, I cannot use System.import() to import the Parcel and when I try to use just import() the module is not found.
This works.
<Parcel config={()=>import('@ouribank/test')} />
This generate the following error:
application '@ouribank/test' died in status LOADING_SOURCE_CODE: Cannot convert undefined or null to object
TypeError: application '@ouribank/test' died in status LOADING_SOURCE_CODE: Cannot convert undefined or null to object
at hasOwnProperty ()
at http://localhost:3000/static/js/bundle.js:11191:41
at async Promise.all (index 0)
<Parcel config={()=>System.import('@ouribank/test')} />
This generate the following error:
'System.import' is restricted from being used. Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting
The text was updated successfully, but these errors were encountered: