I'm building a generator and I need at the end to npm install
in a certain directory in my app, I tried things like:
this.spawnCommandSync('cd', [this.destinationRoot() + '/my/folder'])
this.spawnCommandSync('npm', ['install'])
but it doesn't work.
And npm install
can't be called in a different directory nor any of the yeoman install mixins.