I have solutions that initially contain 2 projects. One of them is an API, the second is a client. And both of these projects have their own dependency displayed in their own packages.json files, which are placed in subdir.
So the question is how to run 'npm install' from subdirectories on the hero?
I am trying to do something in the main npm file
"scripts": { "postinstall": "cd my_subdir; npm install" },
But this does not work showing can't cd to my_subdir
source share