Instead of using the globally installed yeoman generator for this project, we're using a local version with yeoman-environment. When using the environment directly, we require this package in order to get a reference to the generator itself.
Unfortunately, the reference to the main in the package.json points to a file that doesn't exist. Everything seems to be fixed by fixing this one line :)
Let me know if this has any other implications. I don't think it should have any implications to the globally installed generator but I could be wrong.
Hi there!
Instead of using the globally installed yeoman generator for this project, we're using a local version with
yeoman-environment
. When using the environment directly, werequire
this package in order to get a reference to the generator itself.Unfortunately, the reference to the main in the package.json points to a file that doesn't exist. Everything seems to be fixed by fixing this one line :)
Let me know if this has any other implications. I don't think it should have any implications to the globally installed generator but I could be wrong.