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

Modern Script Editor Webpart is not working #4480

Closed
1 of 9 tasks
pradeemi opened this issue Nov 23, 2023 · 6 comments
Closed
1 of 9 tasks

Modern Script Editor Webpart is not working #4480

pradeemi opened this issue Nov 23, 2023 · 6 comments
Labels
Needs: Author Feedback sample: react-script-editor type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@pradeemi
Copy link

Disclaimer

Yes

Sample

Modern Script Editor Webpart

Contributor(s)

http://aka.ms/m365pnp

What happened?

"Modern Script Editor" Webparts are not working/loading properly on SharePoint Online pages. Please find the below error details and attachments and resolve this issue on high priority as this is impacting multiple users.

Error details: Something went wrong If the problem persists, contact the site administrator and give them the information in Technical Details. TECHNICAL DETAILS

ERROR:
Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
CALL STACK:
Error: Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
at B (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :8:252)
at HTMLScriptElement.onScriptError (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :30:244)

Steps to reproduce

  1. Visit any SharePoint online site.
  2. Add modern script editor webpart on SharePoint page.
  3. Below error gets displayed:

Error details: Something went wrong If the problem persists, contact the site administrator and give them the information in Technical Details. TECHNICAL DETAILS

ERROR:
Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
CALL STACK:
Error: Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
at B (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :8:252)
at HTMLScriptElement.onScriptError (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :30:244)

Expected behavior

Modern script editor webpart should not throw below error:

Error details: Something went wrong If the problem persists, contact the site administrator and give them the information in Technical Details. TECHNICAL DETAILS

ERROR:
Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
CALL STACK:
Error: Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
at B (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :8:252)
at HTMLScriptElement.onScriptError (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :30:244)

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

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

What version of Node.js is currently installed on your workstation?

Not applicable

What version of Node.js is required by the sample?

Not applicable

Paste the results of SPFx doctor

Error details: Something went wrong If the problem persists, contact the site administrator and give them the information in Technical Details. TECHNICAL DETAILS

ERROR:
Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
CALL STACK:
Error: Script error for: 3a328f0a-99c4-4b28-95ab-fe0847f657a3_0.0.1
http://requirejs.org/docs/errors.html#scripterror
at B (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :8:252)
at HTMLScriptElement.onScriptError (eval at e (https://res-1.cdn.office.net/files/sp-client/sp-pages-assembly_en-us_cc09beedac12482b5e7fa1f1e86d8093.js:79:248587), :30:244)

Additional environment details

No response

@pradeemi pradeemi added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Nov 23, 2023
@ghost
Copy link

ghost commented Nov 23, 2023

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

@ghost ghost added the Needs: Triage 🔍 label Nov 23, 2023
@pradeemi
Copy link
Author

Hi Team,

is there any update?

@pradeemi
Copy link
Author

pradeemi commented Dec 4, 2023

HI Github team,

This is very disappointing; we have raised issue 2 weeks back and still no response received?

could you please respond on priority?

@sympmarc
Copy link
Contributor

sympmarc commented Dec 4, 2023

Please note that the solutions in this repo are maintained by volunteers in their spare time for the good of the community. As such, there is no guaranteed response time.

@pradeemi
Copy link
Author

pradeemi commented Dec 5, 2023

Thanks for the response, expecting at least a reason why package is not working?

@Tanddant
Copy link
Contributor

Tanddant commented Jan 4, 2024

@pradeemi I cannot replicate the issue, you skipped over a few steps when filling out the bug report, do you mind updating with the following?

  • What version of Node.js is currently installed on your workstation?
  • Paste the results of SPFx doctor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Author Feedback sample: react-script-editor type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

4 participants