Copy link to clipboard
Copied
<Extension Id="cnation.server">
<DispatchInfo>
<Resources>
<MainPath>./localServer.html</MainPath>
<CEFCommandLine>
<Parameter>--enable-nodejs</Parameter>
<Parameter>--mixed-context</Parameter>
</CEFCommandLine>
</Resources>
<Lifecycle>
<AutoVisible>false</AutoVisible>
</Lifecycle>
<UI>
<Type>Custom</Type>
<Geometry>
<Size>
<Height>100</Height>
<Width>100</Width>
</Size>
</Geometry>
<Icons />
</UI>
</DispatchInfo>
</Extension>
If I remove this two lines: the panel works well but I cannot use Nodejs on the browser to call a Nodejs function:
<Parameter>--enable-nodejs</Parameter>
<Parameter>--mixed-context</Parameter>
Someone knows what is going on?
I just found the bug on this. Seems that if you have your extension folder name with some characters like "apostrophe" glitches because some parsing in the backend I think. But i removed the apostrophe and now it works perfectly, I had this issue for what, one month? It was driving me crazy!!
Copy link to clipboard
Copied
Hi,
What CEP version are you using?
Copy link to clipboard
Copied
Hello Charu! I just found the bug on this. Seems that if you have your extension folder name with some characters like "apostrophe" glitches because some parsing in the backend I think. But i removed the apostrophe and now it works perfectly, I had this issue for what, one month? It was driving me crazy!!
Copy link to clipboard
Copied
I just found the bug on this. Seems that if you have your extension folder name with some characters like "apostrophe" glitches because some parsing in the backend I think. But i removed the apostrophe and now it works perfectly, I had this issue for what, one month? It was driving me crazy!!