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

The npm run serve command hides almost all logging #1236

Closed
palisadoes opened this issue Dec 21, 2023 · 4 comments
Closed

The npm run serve command hides almost all logging #1236

palisadoes opened this issue Dec 21, 2023 · 4 comments
Assignees
Labels
bug Something isn't working feature request no-issue-activity No issue activity

Comments

@palisadoes
Copy link
Contributor

palisadoes commented Dec 21, 2023

Describe the bug
The npm run serve command hides almost all logging

To Reproduce
Run the npm run serve command

Expected behavior
This behavior is not acceptable.

  1. There is no feedback as to what is happening.
    1. There is no useful troubleshooting information shown
    2. There is no indication of the state of progress

Neither the development nor DevOps teams will therefore have the best information to troubleshoot issues. We require:

  1. Full logging to the screen indicating what is happening
  2. No clearing of the output between messages

Actual behavior

  1. First this message is seen
    image
  2. Then the message is cleared, then this message is seen for a few seconds, then disappears
    image
  3. The screen then goes blank for several minutes with no indication of what is happening. The user may feel that the operation is failing.
  4. This message is then displayed for several minutes with no indication of any activity happening
    image
  5. Finally, the screen clears once more then this message is visible
    image

Additional details

  • N/A

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@palisadoes palisadoes added the bug Something isn't working label Dec 21, 2023
@Tarunmeena0901
Copy link
Contributor

@palisadoes @noman2002 i will like to work on this issue,
thank you

@Tarunmeena0901
Copy link
Contributor

hi @palisadoes @noman2002 i need little help here, the issue is almost solved as i had made changes in web.config.js and and integrate a state progress indicator in the console which shows the compilation progress and runtime error as well here are some screenshots

Screenshot 2023-12-24 161700

Screenshot 2023-12-24 161725

Screenshot 2023-12-24 161753

the only part left is to make is available for everyone but the changes made are in node_module/react-scripts/config/webpack.config.js
as we know we cannot commit node_module the how can make these changes commit in the repo

i thought of adding webpack.config.js in the root directory but it wont workt cause "npm run serve" command initiate the "react-scritps start" command (in package_json) .
can you help me with this please

@Tarunmeena0901
Copy link
Contributor

ok so i came up with an solution in pull request . happy to take any suggestions

Copy link

github-actions bot commented Jan 4, 2024

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature request no-issue-activity No issue activity
Projects
None yet
Development

No branches or pull requests

3 participants