# Refused to execute script

**URL:** <https://community.bluespice.com/t/refused-to-execute-script/115>\
**Category:** Bugs\
**Created:** [April 14, 2024, 10:29pm UTC](https://community.bluespice.com/t/refused-to-execute-script/115 "2024-04-14T22:29:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![subhan](https://avatars.discourse-cdn.com/v4/letter/s/e79b87/32.png) [@subhan](https://community.bluespice.com/u/subhan)\
**Post date:** [April 14, 2024, 10:29pm UTC](https://community.bluespice.com/t/refused-to-execute-script/115/1 "2024-04-14T22:29:51Z")

</div>

Refused to execute script from ‘http:/…1080/mediawiki-server/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector’ because its MIME type (‘text/html’) is not executable, and strict MIME type checking is enabled.

I am seeing this error in the console, for further, I enable the debug mode and visit the link it shows me this error, right now Cognitive Process Designer diagram isn’t shows, the loading icon continuously appearing over the page.

[62c7061bdcc4a3cb3550d53d] /mediawiki-server/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector Error: Class ‘MWStake\MediaWiki\Component\ManifestRegistry\ManifestAttributeBasedRegistry’ not found

Backtrace:

from /var/www/html/mediawiki-server/extensions/CognitiveProcessDesigner/src/CpdInspectorPluginModules.php(13)

---

<div class="post-metadata">

**Author:** ![rvogel](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@rvogel](https://community.bluespice.com/u/rvogel)\
**Post date:** [June 4, 2024, 7:28am UTC](https://community.bluespice.com/t/refused-to-execute-script/115/2 "2024-06-04T07:28:17Z")

</div>

Welcome to the BlueSpice Community forums!

The error message looks like there is a dependency missing.  
Please make sure to install Extension:CognitiveProcessDesigner using `composer` as explained here: [Composer/For extensions - MediaWiki](https://www.mediawiki.org/wiki/Composer/For_extensions)
