-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: "export '__spreadArray' was not found in 'tslib' #23090
Comments
Thanks for the issue! This issue has been labeled as Please reproduce this issue in an Ionic starter application and provide a way for us to access it (GitHub repo, StackBlitz, etc). Without a reliable code reproduction, it is unlikely we will be able to resolve the issue, leading to it being closed. If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for our team to reproduce the issue. For a guide on how to create a good reproduction, see our Contributing Guide. |
Using React i had the same issue |
Seeing the same issue on 5.6.2 (and using React). Reverting to 5.6.1 allows our builds to work again. |
Also experiencing issue on 5.6.2 with react |
Experiencing this on 5.6.2 with vue |
Same problem with a fresh installation of react (ionic 6.13.1) |
Hi everyone, I can reproduce this now. Looks like this was due to a change in Stencil. I am investigating now and we will have a fix out by the end of today. Thanks for your patience! |
having this same exact issue looks like i will be reverting to a lesser version |
Hi everyone, Please see below for a resolution regarding this issue. ResolutionA fix has been released via Ionic Framework v5.6.3. Please update your apps to this version to receive the fix: Angular
React
Vue
Stencil/Vanilla JavaScript
What HappenedWe recently applied Future StepsWe are currently in the process of revamping our E2E testing infrastructure to better detect issues like the one reported here before a PR is even merged. Part of the work involves migrating to Cypress as well as adding more robust automated tests. We appreciate your patience as we worked to resolve this issue. Please let me know if you have any questions. Thanks! |
Excellent work @liamdebeasi ty for taking care of this so quickly. Bug squashed! |
Hi, it seems this bug still occurs. Related code:
Console ouputs
going back to 5.6.1 fixed the problem |
@antoinebassin Can you provide the output of running |
For sure, here it is
Strange fact:
|
Can you provide a GitHub repo where this issue happens? I followed your steps in #23090 (comment) and was unable to reproduce the issue. |
Thanks! I'm not quite sure why you would still be getting that warning. I cloned your repo and confirmed that |
package-lock.json
node_modules/@ionic/react
|
Maybe I use a too old version of NodeJS or NPM ? |
Can you try explicitly installing |
Now it works! Thank you :) |
Worked for me too, thank you! |
Still encounter this issue on @ionic/vue 5.6.4 Ionic: Ionic CLI : 6.12.4 (C:\Users\JANPHIL-PC\AppData\Roaming\npm\node_modules@ionic\cli) Capacitor: Capacitor CLI : 2.4.7 Utility: cordova-res : 0.15.3 System: NodeJS : v14.15.1 (C:\Program Files\nodejs\node.exe) |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version: 6.13.1
[ ] 4.x
[x] 5.x
Current behavior:
Create a brand new vue project and the base example will not load. It warns first that export spreadArray is not found in tslib and then further complains in the console after ionic serve finishes initialization that it can't find the function
__spreadArray
In VS Code:
In Console:
Expected behavior:
Should show the welcome page for a new templated project.
Steps to reproduce:
As shown above.
Related code:
Ionic info:
Have deleted node_modules and tried reinstalling (
npm i
) many times.The text was updated successfully, but these errors were encountered: