@ortin said in Dir structure of pimaitc-app/node_modules changed with node v8.x:
Did I something wrong during the reinstallation of pimatic after the node upgrade?
No, you did nothing wrong. node.js v4 is packaged with npm v2 while newer node.js version are packaged with npm v3 or higher. Npm v2 uses a hierarchical directory structure to maintain packages while newer versions of npm use a flat structure. In pimatic you will find a mix of both as the pimatic plugin manager is still based on a modified version of npm v2 (aka. ppm) while anything which gets installed via npm (e.g. sqlite3 install) lands in the flat structure. So far, there is no issue with that, as node.js is able to handle both at runtime. In the near future ppm will be replaced with npm workflow plus additional filter functions to make the update manager happy.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law