| Summary: | npmPlugin fails when Orion is not running at server root | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Server | Assignee: | 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: | |||
npmPlugin is no more. |
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