tavikukko / Chrome-SP-Editor

Extension for creating and updating files (js, css) in SharePoint Online from Developer Tools
122 stars 39 forks source link

SP2019 on-prem, classic, $pnp.SPNS.Web is not a constructor #87

Closed Gennady-G closed 3 years ago

Gennady-G commented 3 years ago

Hi @tavikukko !

Looks like it basically works, but don't see green confirmation popup that file is saved/approved,

0-2021-02-03_175553

and also sometimes get this error:

VM10995:73 Uncaught (in promise) TypeError: $pnp.SPNS.Web is not a constructor 1-git-2021-02-03_175340

SP 2019, Classic page, Chrome Version 88.0.4324.146 (Official Build) (64-bit), Win Server 2019

upd.: no, it works only until f12 console is active. It does not save, as I understand..

tavikukko commented 3 years ago

Could you test if this happens also in online, thanks. And thank you for reporting the issue👌

Gennady-G commented 3 years ago

Hi!

Checked. Yes, same in Online.

not-a-constructor-2021-02-03_202340

Site template is STS#0, classic; publishing enabled

Best regards, Gennady

tavikukko commented 3 years ago

Fixed, release waiting for Googles approval.

tavikukko commented 3 years ago

Fix released in version 5.6.8. Thanks again @Gennady-G for ypur help 👍

Gennady-G commented 3 years ago

Thank You too for great tool! :)

Gennady-G commented 3 years ago

Now works, thank You much!)

Best regards, Gennady