I have created an HTML panel and use NodeJs.
On windows , the panel is loaded after 5 seconds
On mac, however, it takes almost 20sec and I found nothing that could help me there.
I have the values for the manifest.xml file
Node on enable and set in mixed-context
<?xml version="1.0" encoding="UTF-8"?>
<ExtensionManifest Version="7.0" ExtensionBundleId="com.example.myPanel" ExtensionBundleVersion="1.0.0"
ExtensionBundleName="myPanel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ExtensionList>
<Extension Id="com.example.myPanel" Version="1.0" />
</ExtensionList>
<ExecutionEnvironment>
<HostList>
<!-- Photoshop -->
<Host Name="PHXS" Version="16.0" />
<Host Name="PHSP" Version="16.0" />
</HostList>
<LocaleList>
<Locale Code="All" />
</LocaleList>
<RequiredRuntimeList>
<RequiredRuntime Name="CSXS" Version="7.0" />
</RequiredRuntimeList>
</ExecutionEnvironment>
<DispatchInfoList>
<Extension Id="com.example.myPanel">
<DispatchInfo >
<Resources>
<CEFCommandLine>
<Parameter>--enable-nodejs</Parameter>
<Parameter>--mixed-context</Parameter>
</CEFCommandLine>
<MainPath>./index.html</MainPath>
<ScriptPath>./jsx/libs/lib.jsx</ScriptPath>
</Resources>
<Lifecycle>
<AutoVisible>true</AutoVisible>
</Lifecycle>
<UI>
<Type>Panel</Type>
<Menu>My Looks</Menu>
<Geometry>
<Size>
<Height>600</Height>
<Width>275</Width>
</Size>
<MinSize>
<Height>400</Height>
<Width>250</Width>
</MinSize>
</Geometry>
</UI>
</DispatchInfo>
</Extension>
</DispatchInfoList>
</ExtensionManifest>
The json file package.json and the folder "node_modules" are located in the root folder
{
"name": "myPanel",
"version": "1.0.0",
"description": "my Looks",
"main": "js/scripts/app.js",
"scripts": {
"test": "echo \"Error: no test specified\"&& exit 1"
},
"author": "Joachim Hiller",
"license": "MIT",
"dependencies": {
"angular": "^1.6.4",
"angular-filter": "^0.5.16",
"check-files-exist": "^1.0.1",
"jszip": "^3.1.3",
"ng-tags-input": "^3.2.0",
"underscore": "^1.8.3"
},
"devDependencies": {}
}
Can someone help me and tell me where the problem is.