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

Invalid bundle when app creates Axios Instances. #156

Closed
pallard-src opened this issue Nov 25, 2021 · 3 comments
Closed

Invalid bundle when app creates Axios Instances. #156

pallard-src opened this issue Nov 25, 2021 · 3 comments

Comments

@pallard-src
Copy link

Hi,

When we tried to migrate to the new CLI version 2.7.0 and we noticed that the generated bundle was not valide and the following error was displayed in the console:

Capture d’écran, le 2021-11-25 à 15 13 28

After investigation, it appears that this issue is caused by Rollup. Sadly tho, the proposed workaround is only available to yarn because the resolutions configuration is not yet available for npm (currently under development as overrides).

Would it be possible to update the rollup dependencies within the CLI ?

I took the liberty to create a clean project to demo the issue that you can fork.

Thank you !

@michielvandergeest
Copy link
Contributor

Thanks for this wonderfully detailed bug report! Especially adding an example project for reproducing the error 😊

I'll make sure that we'll do some additional investigation on our end as well and try to get a solution out asap.

@michielvandergeest
Copy link
Contributor

Hi @pallard-src, we've checked the issue and Sandeep has created a PR updating a rollup plugin. This seems to resolve the issue in the example project. Would you mind taking a look at PR #157 and see if it solves your issue in general as well? Thanks!

@pallard-src
Copy link
Author

@michielvandergeest The fix does seem to work :)

Thank you for the prompt response and fix.

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

No branches or pull requests

2 participants