-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unable to debug webpart with mgt-spfx #161
Comments
Hi, |
Hi @s-KaiNet, Thanks for this config file, I didn't know you provided a full sample, good to know. However, when trying to use it with both use cases mentioned above, I still have the same issue. But it works if I upgrade MGT to 4.2.1 in my SPFx project sample (meaning getting rid of To better understand, I tried to run the advanced sample locally but I'm facing the following issue (version of Node 18.20.6):
|
mgt-spfx was deprecated a year ago, thus my recommendation is to upgrade. When it comes to the sample strange that it fails even to gulp bundle, worked fine half a year ago. Curious what have changed, but I have to look and may be upgrade to the latest versions of packages and SPFx. |
I know about package's depreaction, just wanted to know if I was the only one here to have this issue and optionally get a lead regarding webpack missing config. We'll see for upgrading the PnP Controls dependencies regarding mgt-spfx, to align with supported MGT solutions. Thanks for your quick feedback! |
Ok the error
actually is mgt issue |
I updated advanced sample and fixed mgt problems. The things is, that there are two issue in mgt repo which I was able to workaround, but they should be fixed by mgt team. The version I included in the sample is 4.4.0 because in this version we don't need any webpack modifications, it just works. |
Thanks for the link and the update! Indeed, it's good as a workaround but not as a long term solution. Let's keep an eye on MGT repo for a fix. I'll close this, as spfx-fast-serve is configured to run with modern MGT package and not And thanks for this amazing command which saves us a lot of time for debugging solutions! 👏 |
Hello,
I have issues when running webparts which involve Microsoft Graph Toolkit for SPFx.
When requesting a context, using the following code:
I have this error displayed:
We currently have the same issue when running server for PnP SPFx React Controls, especially a control called
MyTeams
which refers tomgt-spfx
:The error is the following:
In both cases, we don't have any issue when running native
gulp serve
. Both are SPFx solutions version 1.20.0 andspfx-fast-serve-helpers
version 1.20.2.Is this something anyone can repro?
The text was updated successfully, but these errors were encountered: