FLOE-484: npm install of chartAuthoring fails when it is a dependency

Metadata

Source
FLOE-484
Type
Bug
Priority
Major
Status
Reopened
Resolution
N/A
Assignee
N/A
Reporter
Antranig Basman
Created
2016-10-02T15:22:02.395-0400
Updated
2020-10-22T08:14:59.292-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Chart Authoring Tool

Description

There are various assumptions built into the npm packaging and grunt files for chartAuthoring that are only valid if it is the top-level install dependency.
The first of these are the bundling of its essential grunt tasks as "devDependencies" such as "grunt": "1.0.1",
"grunt-contrib-copy": "1.0.0",
"grunt-exec": "1.0.0",

These are all necessary as part of its "npm postinstall" step which make a build of Infusion and other libraries and copy them in.

Other assumptions relate to the actual position of infusion etc. in the filesystem which may well differ based on the version of npm in use and the structure of other dependencies in the tree

Comments