OpenNTF / WebDevToolkitForDx

Apache License 2.0
18 stars 4 forks source link

can't get themes and wcm libs #18

Closed baldonda closed 7 years ago

baldonda commented 7 years ago

1 2

clicking on button "view server themes" and "get libraries" nothing happens, despite info in settings tab are correct (via browser I can resolve the address server:10039/dav/fs-type1)

I have installed -NodeJs v.6.9.4 -digexp-toolkit (latest version)

mburati commented 7 years ago

I just installed the latest release with IBM Node 6.10.2 and it appears to be working here.

I hope that info helps, ..Mike

baldonda commented 7 years ago

thanks for the response. with the command dxwcmdesigns I can see all wcm libraries....

immagine

the connection params are the same in the 'settings' tab I haven't proxy in my browser and I have tried to stop antivirus.....

nevertheless still I have same problem

mburati commented 7 years ago

Ok, if dxwcmdesigns can access the server and list wcm libraries, that rules out issues with node making http requests to your server. If you're using the same settings between that and the dxdashboard config, then maybe it's making the requests ok, but having trouble displaying the results in NW (node webkit).

If you can determine where node installed the dashboard, you can edit the configuration of NW in the package.json for it, to tell NW to load the toolbar, and thus the icon to the right of the toolbar that brings up the Webkit developer tools window.

I installed my NodeJS 6.10 in C:\nodejs on this particular system and then when I installed the dashboard, it installed it to: C:\nodejs\node_modules\digexp-dashboard\

So in my case, I edit C:\nodejs\node_modules\digexp-dashboard\package.json

and change the toolbar value from false to true, in the following portion of that package.json:

"window": { "show": true, "toolbar": true, ... }

Then when I start the dxdashboard, I see the webkit browser address bar, and to the right of that, the toolkit icon (sometimes referred to as a hamburger icon - layers of horizontal lines on it). That icon brings up the Webkit developer tools console where I can then see the code making console.log statements and if there are any JS errors, it should show them there too.

Can you try that (after determining where you installed NodeJS, to then determine where it installed digexp-dashboard, to get to the package.json you need to make the above edit to)?

Thanks and I hope that helps, ..Mike The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.

gsager commented 7 years ago

I think if you set DIGEXP_DEBUG=true in your environment variable it will allow you to see the debug UI

mburati commented 7 years ago

Thanks Garry, I had forgotten you had added that. That does appear to be an easier way to enable the webkit developer tools. We should get that added to the Readme.

baldonda commented 7 years ago

Well, I've removed all components and I've reinstalled node , but 6.10.2 release and it worked... Now I can see themes and wcm libs of the portal configured in the settings

Thanks for the support

I think the issue can be closed

mburati commented 7 years ago

Thanks for letting us know that upgrading your version of node resolved the issue. Closing it as suggested.