joelspadin-garmin / vscode-private-extension-manager

Private extension manager for Visual Studio Code
103 stars 22 forks source link

Private extension list not getting pulled from repository #73

Closed amey2688 closed 2 years ago

amey2688 commented 2 years ago

Hi have confgured my jfrog repository endpoints in extensions.private.json file as specified in readme. it is not still able to fetch deployed packages and just keeps running (see attached screenhot). is there any way to check what is happening in background? image it has been loading like this since hours . any suggestions how to fix this ? is it working for anyone else?

amey2688 commented 2 years ago

this is how my extensions.private.json looks like

"registries": [ {"name": "My Private Registry", "registry": "https://artifactory.xxx.net/artifactory/api/npm/xxx/", "enablePagination":false} ], // List of private extensions which should be recommended for users of this workspace. "recommendations": [ ]

riddlepl commented 2 years ago

I face the same problem. My registry is hosted in jfrog as well. I've checked the results returned by the server and its looks ok, there is a package present. @amey2688 have you find a solution for that?

Update: ok I've used debugger to figure it out. In my case package.yml for npm package uploaded to the npm registry was lacking engine entry and as such it's silently discarded by the Private extension manager.

amey2688 commented 2 years ago

issue has been solved now . thanks @riddlepl for the solution. engine entry was missing from package.json file and that was the actual reason private extension were not showing.