Additionally, the custom generator I was authoring earlier assumes there is a src folder in the directory (where the generator if finally run) with files to be copied over to the "mount" location.
What could be the reason for the failure of the mount command when run within the generator?
Here is a stub from my custom generator file:
The
_runCmd
is defined as follows:When this generator is run (as root), this command always fails. Below is the error output of failure:
For an isolated test, I created a fresh nodejs project
npm init -y
install yeoman-generator (v3.2.0), and, prepared the below code:The above test does not error.
Additionally, the custom generator I was authoring earlier assumes there is a
src
folder in the directory (where the generator if finally run) with files to be copied over to the "mount" location.What could be the reason for the failure of the mount command when run within the generator?
Code available here: https://gist.github.com/deostroll/3f7907b673ea7c544b385f2a399c45fa