Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 423860

Summary: npmPlugin fails when Orion is not running at server root
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ServerAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-12-11 15:28:47 EST
If you try to use "npm" commands in the Orion shell in a server environment where Orion is not running at the server root (/), the commands fail.

This is because the plugin implementation uses absolute URIs for its rest calls.

>  var d = xhr("POST", "/npm", {
                       ^^^^^^ no
Comment 1 Mark Macdonald CLA 2015-05-04 09:47:45 EDT
npmPlugin is no more.