Custom Javascript Plugin is not executed in Browser

Hello everybody,

I am quite new with Neos and this is actually the first time I am using this forum. Sry in advance if the chosen category is wrong or the provided information is insufficient.

I have the problem that my Javascript Plugin is not executed in Browser (It is not requested acording to the network tab in devTools). For the moment, I just want it to print a console message in the browser devTools to check if it is executed. I have an equal folder structure according to [https://neos.readthedocs.io/_/downloads/en/4.1/pdf/] on page 101. I would have added a third picture but as a newbie I can only insert two media sources at once.

package.json
Screenshot 2023-07-05 134646

settings.yaml
Screenshot 2023-07-05 135026

Hi and welcome to Neos :wink:

… that doesnt look to bad and dont worry about the category too much ^^

I assume you have run the yarn build command and the resource lies in your public folder?
Then it might be that this is a new package of yours and you need to do ./flow flow:package:rescan issue

If this doesnt solve the issue i would recommend inspecting the head area of the Neos Ui HOST application, there should be the Neos Ui JS itself and among others also your script linked. You can also post the entire head html so i can verify that it looks correct :wink:

PS. you dont need to include screenshots but can use 3 fences like

```yaml
my code

```

which will be rendered as

my code

Greetings
Marc Henry

First of all, thanks for the answer :slight_smile:

Your assumption is correct. I already run yarn build and my plugin in the packages public folder as a static asset.

Running ./flow flow:package:rescan did not solve the issue. I inspected the head but my script is not embedded. The correct path of my plugin would be http://localhost:8080/_Resources/Static/Packages/Vcg.Multipage/Multipage/Plugin.js?…”

However, the header’s code looks like this.

<head>
        <meta charset="utf-8" />
        <title>Neos CMS</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
        <script>_NEOS_UI_configuration = {"nodeTree":{"loadingDepth":4,"presets":{"default":{"baseNodeType":"Neos.Neos:Document"}}},"structureTree":{"loadingDepth":4},"allowedTargetWorkspaces":{"live":{"name":"live","title":"Live","description":null,"readonly":false}},"endpoints":{"nodeTypeSchema":"http:\/\/localhost:8080\/neos\/schema\/node-type?version=198476b89c5a9d878b2975a96d891b79_1688651379","translations":"http:\/\/localhost:8080\/neos\/xliff.json?locale=de&version=198476b89c5a9d878b2975a96d891b79_1688651379"}};</script>
        <script>_NEOS_UI_nodeTypes = {"roles":{"ignored":"unstructured","document":"Neos.Neos:Document","content":"Neos.Neos:Content","contentCollection":"Neos.Neos:ContentCollection"},"groups":{"general":{"position":"start","label":"Neos.Neos:Main:nodeTypes.groups.general","collapsed":false},"nl_teaser":{"position":10,"label":"Teaser","collapsed":false},"text":{"position":10,"label":"Textelemente","collapsed":false},"nl_selektionen":{"position":20,"label":"Selektionen","collapsed":false},"teaser":{"position":20,"label":"Teaser","collapsed":false},"teaser_autofill":{"position":25,"label":"Teaser (Autofill)","collapsed":false},"medien":{"position":30,"label":"Medienelemente","collapsed":false},"nl_text":{"position":40,"label":"Textelemente","collapsed":false},"nl_medien":{"position":40,"label":"Medienelemente","collapsed":false},"socialmedia":{"position":40,"label":"Social Media & Drittanbieter","collapsed":false},"nl_struktur":{"position":50,"label":"Strukturelemente","collapsed":false},"nl_komponenten":{"position":50,"label":"Komponenten","collapsed":false},"komponenten":{"position":50,"label":"Komponenten","collapsed":false},"kikomponenten":{"position":60,"label":"KI-basierte Komponenten (Experimentell)","collapsed":false},"structure":{"position":100,"label":"Neos.Neos:Main:nodeTypes.groups.structure","collapsed":false},"plugins":{"position":200,"label":"Neos.Neos:Main:nodeTypes.groups.plugins","collapsed":true}}};</script>
        <script>_NEOS_UI_frontendConfiguration = {"editPreviewModes":{"live":{"isEditingMode":false,"isPreviewMode":false,"fusionRenderingPath":"","title":"Live"},"inPlace":{"isEditingMode":true,"isPreviewMode":false,"fusionRenderingPath":"","title":"Neos.Neos:Main:editPreviewModes.inPlace","position":100},"yoastSeoView":{"isEditingMode":true,"isPreviewMode":false,"fusionRenderingPath":"yoastSeoView","title":"Yoast.YoastSeoForNeos:Main:editPreviewModes.yoastSeoView","position":"after inPlace"},"desktop":{"isEditingMode":false,"isPreviewMode":true,"fusionRenderingPath":"","title":"Neos.Neos:Main:editPreviewModes.desktop","position":100},"iphone":{"isEditingMode":false,"isPreviewMode":true,"fusionRenderingPath":"","title":"iPhone","position":100,"width":"375px","height":"667px","backgroundColor":"black"},"ipad":{"isEditingMode":false,"isPreviewMode":true,"fusionRenderingPath":"","title":"iPad - landscape","position":100,"width":"1024px","height":"768px","backgroundColor":"black"},"rawContent":{"isEditingMode":true,"isPreviewMode":false,"fusionRenderingPath":"rawContent","title":"Neos.Neos:Main:editPreviewModes.rawContent","position":200}},"hotkeys":{"UI.RightSideBar.toggle":"t i","UI.FullScreen.toggle":"t f","UI.LeftSideBar.toggle":"t l","UI.LeftSideBar.toggleContentTree":"t c","UI.LeftSideBar.toggleSearchBar":"t s","UI.AddNodeModal.close":"c m","UI.Drawer.toggle":"t d","UI.InsertionModeModal.cancel":"c i","UI.InsertionModeModal.apply":"a i","UI.ContentCanvas.reload":"r c","UI.Inspector.discard":"d i","UI.Inspector.escape":"e i","UI.Inspector.resume":"r i","UI.NodeCreationDialog.back":"b n","UI.NodeCreationDialog.cancel":"c n","UI.NodeCreationDialog.apply":"a n","UI.NodeVariantCreationDialog.cancel":"c v","UI.NodeVariantCreationDialog.createEmpty":"c e v","UI.NodeVariantCreationDialog.createAndCopy":"c c v","CR.Nodes.unfocus":"u n","Shel.Neos.Terminal.toggle":"t t"},"Yoast.YoastSeoForNeos":{"contentSelector":".inf-main-detail"},"Shel.Neos.Terminal:Terminal":{"enabled":true,"welcomeMessage":"Shel.Neos.Terminal:Main:welcome","registrationKey":{"id":"","signature":"","showThankYouMessage":true},"getCommandsEndPoint":"\/neos\/shel-neos-terminal\/getcommands","invokeCommandEndPoint":"\/neos\/shel-neos-terminal\/invokecommand","theme":{"contentStyle":{"color":"#adadad"},"styleEchoBack":"fullInherit","promptLabelStyle":{"color":"#ff8700","whitespace":"nowrap"},"inputTextStyle":{"color":"#ffffff"},"messageStyle":{"whiteSpace":"pre-wrap","color":"#00adee"}}},"Shel.Neos.CommandBar:CommandBar":{"enabled":true,"features":{"searchNeosDocs":true,"loadTestCommands":false,"searchNeosPackages":true},"hotkeys":{"filter":["UI.AddNodeModal.close","UI.InsertionModeModal.cancel","UI.InsertionModeModal.apply","UI.Inspector.escape","UI.Inspector.resume","UI.NodeCreationDialog.back","UI.NodeCreationDialog.apply","UI.NodeCreationDialog.cancel","UI.NodeVariantCreationDialog.cancel","UI.NodeVariantCreationDialog.createEmpty","UI.NodeVariantCreationDialog.createAndCopy","CR.Nodes.unfocus"]}}};</script>
        <script>_NEOS_UI_menu = [{"label":"Neos.Neos:Main:content","icon":"fas fa-file","uri":"http:\/\/localhost:8080\/neos\/content","target":"Window","children":[{"icon":"globe","label":"process.vogel.de","uri":"http:\/\/localhost:8080\/neos\/content","target":"Window","isActive":false,"skipI18n":true}]},{"label":"Neos.Neos:Modules:management.label","icon":"fas fa-briefcase","uri":"http:\/\/localhost:8080\/neos\/management","target":"Window","children":[{"icon":"fas fa-camera","label":"Neos.Media.Browser:Main:module.label","uri":"http:\/\/localhost:8080\/neos\/management\/media","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-th-large","label":"Neos.Neos:Modules:workspaces.label","uri":"http:\/\/localhost:8080\/neos\/management\/workspaces","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-calendar-alt","label":"Neos.Neos:Modules:history.label","uri":"http:\/\/localhost:8080\/neos\/management\/history","position":null,"isActive":true,"target":"Window","skipI18n":false}]},{"label":"Neos.Neos:Modules:administration.label","icon":"fas fa-cogs","uri":"http:\/\/localhost:8080\/neos\/administration","target":"Window","children":[{"icon":"fas fa-users","label":"Neos.Neos:Modules:users.label","uri":"http:\/\/localhost:8080\/neos\/administration\/users","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-archive","label":"Neos.Neos:Modules:packages.label","uri":"http:\/\/localhost:8080\/neos\/administration\/packages","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-globe","label":"Neos.Neos:Modules:sites.label","uri":"http:\/\/localhost:8080\/neos\/administration\/sites","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-list-alt","label":"Neos.Neos:Modules:configuration.label","uri":"http:\/\/localhost:8080\/neos\/administration\/configuration","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-code-branch","label":"Neos.Neos:Modules:dimensions.label","uri":"http:\/\/localhost:8080\/neos\/administration\/dimensions","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-sitemap","label":"Shel.NodeTypes.Analyzer:Main:module.label","uri":"http:\/\/localhost:8080\/neos\/administration\/nodetypes","position":null,"isActive":true,"target":"Window","skipI18n":false},{"icon":"fas fa-magic","label":"Monocle","uri":"http:\/\/localhost:8080\/neos\/administration\/monocle","position":null,"isActive":true,"target":"Window","skipI18n":false}]}];</script>
        <script>_NEOS_UI_initialState = {"changes":{"pending":[],"processing":[],"failed":[]},"cr":{"nodes":{"byContextPath":{"\/sites\/vcg-processvogelde@user-admin;language=de":{"contextPath":"\/sites\/vcg-processvogelde@user-admin;language=de","name":"vcg-processvogelde","identifier":"c2b526d9-93fc-4c3e-9175-7f62d2a81ac6","nodeType":"Vcg.Nodetypes:Document.Startseite","label":"Startseite","isAutoCreated":false,"depth":2,"children":[{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5@user-admin;language=de","nodeType":"Vcg.Nodetypes:Document.ArtikelOrdner"}],"parent":"\/sites@user-admin;language=de","matchesCurrentDimensions":true,"properties":{"_removed":false,"_creationDateTime":"2023-07-04T07:20:19+00:00","_lastModificationDateTime":"2023-07-04T07:20:19+00:00","_lastPublicationDateTime":null,"_path":"\/sites\/vcg-processvogelde","_name":"vcg-processvogelde","_nodeType":"Vcg.Nodetypes:Document.Startseite","_hidden":false,"_hiddenBeforeDateTime":null,"_hiddenAfterDateTime":null,"focusKeyword":"","isCornerstone":false,"title":"Home","titleOverride":"","metaDescription":"","uriPathSegment":"home","_hiddenInIndex":false},"isFullyLoaded":true,"uri":"http:\/\/localhost:8080\/neos\/preview?node%5B__contextNodePath%5D=%2Fsites%2Fvcg-processvogelde%40user-admin%3Blanguage%3Dde"},"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de":{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de","name":"node-1hvlducsrchx1","identifier":"8f75f4dd-3f65-4437-ad85-0b9af72f917b","nodeType":"Vcg.Nodetypes:Document.Artikel","label":"Test ()","isAutoCreated":false,"depth":4,"children":[{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte@user-admin;language=de","nodeType":"Vcg.Nodetypes:Collection.Artikelinhalte"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/downloads@user-admin;language=de","nodeType":"Vcg.Nodetypes:Collection.Downloads"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/alternativebilder@user-admin;language=de","nodeType":"Vcg.Nodetypes:Collection.AlternativeBilder"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/interneanhaenge@user-admin;language=de","nodeType":"Vcg.Nodetypes:Collection.InterneAnhaenge"}],"parent":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5@user-admin;language=de","matchesCurrentDimensions":true,"properties":{"_removed":false,"_creationDateTime":"2023-07-05T12:34:28+00:00","_lastModificationDateTime":"2023-07-05T12:34:28+00:00","_lastPublicationDateTime":null,"_path":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1","_name":"node-1hvlducsrchx1","_nodeType":"Vcg.Nodetypes:Document.Artikel","_hidden":false,"_hiddenBeforeDateTime":"2023-07-05T12:34:28+00:00","_hiddenAfterDateTime":null,"focusKeyword":"","isCornerstone":false,"title":"Test","titleOverride":"","metaDescription":"","uriPathSegment":"test-1","_hiddenInIndex":false,"metaKeywords":"","metaRobotsNoindex":false,"metaRobotsNofollow":false,"twitterCardType":"","twitterCardCreator":"","twitterCardTitle":"","twitterCardDescription":"","twitterCardImage":null,"canonicalLink":"","openGraphType":"","openGraphTitle":"","openGraphDescription":"","openGraphImage":null,"contentklasse":"","firmen":[],"belegmail":"","artikelstatus":"gesperrt","aktualisierungsdatum":null,"lesestatus":"free","endeRegpaid":null,"homepagetyp":"","hauptthemenkanal":"","themenkanal":[],"fremdveroeffentlichung":[],"breadcrumb":"","newsletterUeberschrift":"","url":""},"isFullyLoaded":true,"uri":"http:\/\/localhost:8080\/neos\/preview?node%5B__contextNodePath%5D=%2Fsites%2Fvcg-processvogelde%2Fnode-ot0yisgjffkx5%2Fnode-1hvlducsrchx1%40user-admin%3Blanguage%3Dde"}},"siteNode":"\/sites\/vcg-processvogelde@user-admin;language=de","documentNode":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de","clipboard":[],"clipboardMode":null},"contentDimensions":{"byName":{"language":{"label":"Sprache","default":"de","defaultPreset":"de","presets":{"de":{"label":"Deutsch","values":["de"],"uriSegment":""}}}},"active":{"language":["de"]},"allowedPresets":{"language":["de"]}},"workspaces":{"personalWorkspace":{"name":"user-admin","publishableNodes":[{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/interneanhaenge@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/downloads@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/seite1@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/seite1\/vortext@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/seite1\/ueberschrift@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/seite1\/autorenzeile@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/seite1\/aufmacherbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/seite1\/absatz@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/node-lj4noeaz4dknc@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/node-lj4noeaz4dknc\/vortext@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/node-lj4noeaz4dknc\/ueberschrift@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/node-lj4noeaz4dknc\/autorenzeile@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/node-lj4noeaz4dknc\/aufmacherbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/artikelinhalte\/node-lj4noeaz4dknc\/absatz@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/alternativebilder@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/alternativebilder\/twitterbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/alternativebilder\/opengraphbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/alternativebilder\/newsletterbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9\/alternativebilder\/listingbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-mvghm1dl433l9@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/interneanhaenge@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/downloads@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/seite1@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/seite1\/vortext@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/seite1\/ueberschrift@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/seite1\/autorenzeile@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/seite1\/aufmacherbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/seite1\/absatz@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/node-y7hps19jx9fqs@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/node-y7hps19jx9fqs\/vortext@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/node-y7hps19jx9fqs\/ueberschrift@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/node-y7hps19jx9fqs\/autorenzeile@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/node-y7hps19jx9fqs\/aufmacherbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/artikelinhalte\/node-y7hps19jx9fqs\/absatz@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/alternativebilder@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/alternativebilder\/twitterbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/alternativebilder\/opengraphbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/alternativebilder\/newsletterbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},{"contextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1\/alternativebilder\/listingbild@user-admin;language=de","documentContextPath":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"}],"baseWorkspace":"live","readOnly":false}}},"ui":{"contentCanvas":{"src":"http:\/\/localhost:8080\/neos\/preview?node%5B__contextNodePath%5D=%2Fsites%2Fvcg-processvogelde%2Fnode-ot0yisgjffkx5%2Fnode-1hvlducsrchx1%40user-admin%3Blanguage%3Dde","backgroundColor":"#ffffff"},"debugMode":false,"editPreviewMode":"inPlace","fullScreen":{"isFullScreen":false},"leftSideBar":{"isHidden":false,"contentTree":{"isHidden":true},"searchBar":{"isVisible":false}},"rightSideBar":{"isHidden":false},"addNodeModal":{"referenceNode":"","mode":"insert"},"drawer":{"isHidden":true},"pageTree":{"isLoading":false,"hasError":false,"focused":["\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"],"active":"\/sites\/vcg-processvogelde\/node-ot0yisgjffkx5\/node-1hvlducsrchx1@user-admin;language=de"},"remote":{"isSaving":false,"isPublishing":false,"isDiscarding":false}},"user":{"name":{"title":"","firstName":"admin","middleName":"","lastName":"admin","otherName":"","fullName":"admin admin"},"preferences":{"interfaceLanguage":"de"},"settings":{"isAutoPublishingEnabled":false,"targetWorkspace":"live"}}};</script>
        <script>_NEOS_UI_routes = {"ui":{"service":{"change":"http:\/\/localhost:8080\/neos\/ui-services\/change","publish":"http:\/\/localhost:8080\/neos\/ui-services\/publish","discard":"http:\/\/localhost:8080\/neos\/ui-services\/discard","changeBaseWorkspace":"http:\/\/localhost:8080\/neos\/ui-services\/change-base-workspace","copyNodes":"http:\/\/localhost:8080\/neos\/ui-services\/copy-nodes","cutNodes":"http:\/\/localhost:8080\/neos\/ui-services\/cut-nodes","clearClipboard":"http:\/\/localhost:8080\/neos\/ui-services\/clear-clipboard","loadTree":"http:\/\/localhost:8080\/neos\/ui-services\/load-tree","flowQuery":"http:\/\/localhost:8080\/neos\/ui-services\/flow-query","generateUriPathSegment":"http:\/\/localhost:8080\/neos\/ui-services\/generate-uri-path-segment","getWorkspaceInfo":"http:\/\/localhost:8080\/neos\/ui-services\/get-workspace-info","getAdditionalNodeMetadata":"http:\/\/localhost:8080\/neos\/ui-services\/get-additional-node-metadata"}},"core":{"content":{"imageWithMetadata":"http:\/\/localhost:8080\/neos\/content\/image-with-metadata","createImageVariant":"http:\/\/localhost:8080\/neos\/content\/create-image-variant","loadMasterPlugins":"http:\/\/localhost:8080\/neos\/content\/master-plugins","loadPluginViews":"http:\/\/localhost:8080\/neos\/content\/plugin-views","uploadAsset":"http:\/\/localhost:8080\/neos\/content\/upload-asset"},"service":{"assetProxies":"http:\/\/localhost:8080\/neos\/service\/asset-proxies","assets":"http:\/\/localhost:8080\/neos\/service\/assets","nodes":"http:\/\/localhost:8080\/neos\/service\/nodes","userPreferences":"http:\/\/localhost:8080\/neos\/service\/user-preferences","dataSource":"http:\/\/localhost:8080\/neos\/service\/data-source","contentDimensions":"http:\/\/localhost:8080\/neos\/service\/content-dimensions","impersonateStatus":"http:\/\/localhost:8080\/neos\/impersonate\/status","impersonateRestore":"http:\/\/localhost:8080\/neos\/impersonate\/restore"},"modules":{"workspaces":"http:\/\/localhost:8080\/neos\/management\/workspaces","userSettings":"http:\/\/localhost:8080\/neos\/user\/usersettings","mediaBrowser":"http:\/\/localhost:8080\/neos\/media\/browser"},"login":"http:\/\/localhost:8080\/neos\/login.json","logout":"http:\/\/localhost:8080\/neos\/logout"}};</script>

        <link rel="stylesheet" href="http://localhost:8080/_Resources/Static/Packages/Neos.Neos.Ui.Compiled/Build/Host.css?e8c54c51" /><link rel="stylesheet" href="http://localhost:8080/_Resources/Static/Packages/Neos.Neos.Ui.Compiled/Build/HostOnlyStyles.css?d25e73d4" /><link rel="stylesheet" href="http://localhost:8080/_Resources/Static/Packages/Yoast.YoastSeoForNeos/YoastInfoView/Plugin.css?604846e8" /><link rel="stylesheet" href="http://localhost:8080/_Resources/Static/Packages/Shel.Neos.Terminal/Assets/Plugin.css?07c59c03" /><link rel="stylesheet" href="http://localhost:8080/_Resources/Static/Packages/Shel.Neos.CommandBar/Plugin.css?ec448c87" />
        <script src="http://localhost:8080/_Resources/Static/Packages/Neos.Neos.Ui.Compiled/Build/Host.js?24c4ae67" ></script><script src="http://localhost:8080/_Resources/Static/Packages/Shel.Neos.CommandBar/Plugin.js?54292823" ></script><script src="http://localhost:8080/_Resources/Static/Packages/Sandstorm.LazyDataSource/JavaScript/LazyDataSource/Plugin.js?893dc951" ></script><script src="http://localhost:8080/_Resources/Static/Packages/Yoast.YoastSeoForNeos/YoastInfoView/Plugin.js?3146e283" ></script><script src="http://localhost:8080/_Resources/Static/Packages/Vcg.Links/Links/Plugin.js?43890c0e" ></script><script src="http://localhost:8080/_Resources/Static/Packages/Shel.Neos.Terminal/Assets/Plugin.js?f4db105a" ></script><script src="http://localhost:8080/_Resources/Static/Packages/Sitegeist.Archaeopteryx/JavaScript/Plugin.js?69dfd2dc" ></script>
        <link href="http://localhost:8080/_Resources/Static/Packages/Neos.Neos.Ui/Images/apple-touch-icon.png" sizes="180x180" rel="apple-touch-icon" /><link href="http://localhost:8080/_Resources/Static/Packages/Neos.Neos.Ui/Images/favicon-16x16.png" sizes="16x16" rel="icon" type="image/png" /><link href="http://localhost:8080/_Resources/Static/Packages/Neos.Neos.Ui/Images/favicon-32x32.png" sizes="32x32" rel="icon" type="image/png" /><link href="http://localhost:8080/_Resources/Static/Packages/Neos.Neos.Ui/Images/safari-pinned-tab.svg" rel="mask-icon" color="#00adee" />
    </head>

Okay lets see …
what is really in the configuration:

./flow configuration:show --path Neos.Neos.Ui.resources

your script should show up here… what does it output?

As stupid as it sounds, the output reflects the scripts in the header with my script not being part of it.

javascript:
    'Neos.Neos.UI:Host':
        resource: '${"resource://" + Neos.Ui.StaticResources.compiledResourcePackage() + "/Public/Build/Host.js"}'
        position: 'start 900'
    'Sandstorm.LazyDataSource:Plugin':
        resource: 'resource://Sandstorm.LazyDataSource/Public/JavaScript/LazyDataSource/Plugin.js'
    'Yoast.YoastSeoForNeos:YoastInfoView':
        resource: 'resource://Yoast.YoastSeoForNeos/Public/YoastInfoView/Plugin.js'
    'Vcg.Links:Plugin':
        resource: 'resource://Vcg.Links/Public/Links/Plugin.js'
    'Shel.Neos.Terminal:Terminal':
        resource: 'resource://Shel.Neos.Terminal/Public/Assets/Plugin.js'
    '@sitegeist/archaeopteryx-plugin':
        resource: 'resource://Sitegeist.Archaeopteryx/Public/JavaScript/Plugin.js'
    'Shel.Neos.CommandBar:CommandBar':
        position: 'after Neos.Neos.UI:Host'
        resource: 'resource://Shel.Neos.CommandBar/Public/Plugin.js'
stylesheets:
    'Neos.Neos.UI:Host':
        resource: '${"resource://" + Neos.Ui.StaticResources.compiledResourcePackage() + "/Public/Build/Host.css"}'
        position: 'start 1000'
    'Neos.Neos.UI:HostOnlyStyles':
        resource: '${"resource://" + Neos.Ui.StaticResources.compiledResourcePackage() + "/Public/Build/HostOnlyStyles.css"}'
        position: 'start 900'
    'Yoast.YoastSeoForNeos:YoastInfoView':
        resource: 'resource://Yoast.YoastSeoForNeos/Public/YoastInfoView/Plugin.css'
    'Shel.Neos.Terminal:Terminal':
        resource: 'resource://Shel.Neos.Terminal/Public/Assets/Plugin.css'
    'Shel.Neos.CommandBar:CommandBar':
        resource: 'resource://Shel.Neos.CommandBar/Public/Plugin.css'

I might be new to Neos, but it occurs to me that this is some sort of stupid programming error like a forgotten ; . :sweat_smile:

1 Like

Okay :wink: Hmm is your package properly installed and required by composer?

check if its visible to flow:

flow package:list | grep Vcg.Multipage

check if and why its required by composer: or composer show

composer why vcg/multipage

I like your plug-in selection :wink:

1 Like

Thx, but I did not choose any of them. It is a project within the company I am working for, so there has been a lot of previous work. :slight_smile:

sty for the late reply, but I had a lot of study-related stuff to do in parallel, so I could not try out your commands until now.

661a841cf60a:/app# ./flow package:list | grep Vcg.Multipage
 Vcg.Multipage                       dev-multipage  

I assume that means my package is visible to flow.

composer why vcg/multipage
vcg/onlineredaktionsclient  dev-main  requires  vcg/multipage (@dev)  

cannot judge whether this appears to be legitimate or not

I just noticed, that you wrote

above, but i hope thats a “typo” in your post - you need to capitalize it. I must be Settings.yaml

If thats not it, i think i need to have a closer look at your project ^^ all my debugging tipps are exhausted - well expect for this:

./flow flow:cache:flush --force

or (across all ApplicationContext)

rm -rf Data/Temporary

Actually the thing that I did not capitalised the settings.yaml caused the error. It was indeed a a stupid error from my side :sweat_smile:.

But anyway, thx for your help. :grinning:

1 Like