sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

SPFx compilation suddenly takes too long

Open djmrky opened this issue 5 years ago • 3 comments

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • [ ] 💥 Internet Explorer
  • [ ] 💥 Microsoft Edge
  • [ ] 💥 Google Chrome
  • [ ] 💥 FireFox
  • [ ] 💥 Safari
  • [ ] mobile (iOS/iPadOS)
  • [ ] mobile (Android)
  • [ ] not applicable
  • [ ] other (enter in the "Additional environment details" area below)

Additional environment details

Issue description

Hi, I have an issue since yesterday.

Suddenly, my compilation takes a lot longer than before. Task "tsc" takes around 3 minutes on every save. Before, it took around 10-15 seconds. I'm working on this project for more than 2 years and haven't changed anything special about the configuration recently or added any new npm modules. It was working perfectly until yesterday. I'm just adding new simple React components.

image

I have another SPFx project on the same machine which works fine.

What could be the problem here?

djmrky avatar Oct 05 '21 08:10 djmrky

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Oct 05 '21 08:10 ghost

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within the next 7 days of this comment. Please see our wiki for more information: Issue List Labels: Needs Author Feedback & Issue List: No response from the original issue author

ghost avatar Nov 03 '21 12:11 ghost

Closing issue due to no response from the original author. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: No response from the original issue author

ghost avatar Nov 10 '21 14:11 ghost