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

bug: fix for react security vulnerability breaks build #22294

Closed
peterennis opened this issue Oct 12, 2020 · 8 comments
Closed

bug: fix for react security vulnerability breaks build #22294

peterennis opened this issue Oct 12, 2020 · 8 comments
Labels
needs: reply the issue needs a response from the user

Comments

@peterennis
Copy link
Contributor

Bug Report

Ionic version:

[ ] 4.x
[x] 5.x

Current behavior:

update react tabs starter to resolve security vulnerability

npm audit fix

shows this result

2020-10-11 21_36_04-Window

Stuck at emitting

Reported here but not fixed

ionic-team/ionic-cli#4392

Expected behavior:

security update should work and not break the system

Steps to reproduce:

Related code:

Repo: https://github.com/peterennis/ae-gallery-react

insert short code snippets here

Other information:

Ionic info:

Ionic:

   Ionic CLI       : 6.11.8-testing.0 (C:\Users\peter\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework : @ionic/react 5.3.5

Capacitor:

   Capacitor CLI   : 2.4.2
   @capacitor/core : 2.4.2

Utility:

   cordova-res : 0.15.1
   native-run  : 1.2.1

System:

   NodeJS : v12.18.3 (C:\Program Files\nodejs\node.exe)
   npm    : 6.13.4
   OS     : Windows 10
@ionitron-bot ionitron-bot bot added the triage label Oct 12, 2020
@liamdebeasi
Copy link
Contributor

liamdebeasi commented Oct 12, 2020

Thanks for the issue. Can you please clarify the issue you are running into? I ran npm audit fix to resolve any dependency security issues, and the application you provided is still working.

@liamdebeasi liamdebeasi added the needs: reply the issue needs a response from the user label Oct 12, 2020
@ionitron-bot ionitron-bot bot removed the triage label Oct 12, 2020
@peterennis
Copy link
Contributor Author

Run npm audit fix on the repo and it upgrades react scripts.

Build and run. Message says:

Files successfully emitted, waiting for typecheck results...

It then keeps writing to disc without stopping.

I do not want to emit.

@ionitron-bot ionitron-bot bot added triage and removed needs: reply the issue needs a response from the user labels Oct 12, 2020
@liamdebeasi
Copy link
Contributor

Hi there,

I am still a bit confused as to what the issue is. Are you saying that react-scripts is continually writing to disk?

@liamdebeasi liamdebeasi added the needs: reply the issue needs a response from the user label Oct 13, 2020
@ionitron-bot ionitron-bot bot removed the triage label Oct 13, 2020
@peterennis
Copy link
Contributor Author

Yes.

@ionitron-bot ionitron-bot bot added triage and removed needs: reply the issue needs a response from the user labels Oct 14, 2020
@liamdebeasi
Copy link
Contributor

What OS are you testing this on?

The Files successfully emitted, waiting for typecheck results... message just means it is waiting for any type warnings. If nothing appears after then that means there were no type warnings.

@liamdebeasi liamdebeasi added the needs: reply the issue needs a response from the user label Oct 14, 2020
@ionitron-bot ionitron-bot bot removed the triage label Oct 14, 2020
@peterennis
Copy link
Contributor Author

Windows 10.
I will try again and see if it does eventually complete.

@liamdebeasi
Copy link
Contributor

Hi there,

I tried this again on Windows 10 and was still unable to reproduce the issue. Are you able to provide any additional steps to reproduce the issue?

@liamdebeasi liamdebeasi added the needs: reply the issue needs a response from the user label Oct 26, 2020
@ionitron-bot ionitron-bot bot removed the triage label Oct 26, 2020
@ionitron-bot
Copy link

ionitron-bot bot commented Nov 9, 2020

Thanks for the issue! This issue is being closed due to the lack of a reply. 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.

Thank you for using Ionic!

@ionitron-bot ionitron-bot bot closed this as completed Nov 9, 2020
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: reply the issue needs a response from the user
Projects
None yet
Development

No branches or pull requests

2 participants