We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
env.instantiate
I used to instantiate and run a generators like follows:
const env = yeoman.createEnv() const appGen = env.instantiate(myRequiredGenerator, { options: { 'skip-install': true } }) await env.runGenerator(appGen)
This used to work but now does not skip install anymore. I couldn't pinpoint the exact time this started to fail.
const env = yeoman.createEnv() env.options = { skipInstall: true } const appGen = env.instantiate(myRequiredGenerator) await env.runGenerator(appGen)
The text was updated successfully, but these errors were encountered:
Install is done by the environment since last major version of environment/generator.
const env = yeoman.createEnv(undefined, { skipInstall: true }) const appGen = env.instantiate(myRequiredGenerator) await env.runGenerator(appGen)
Sorry, something went wrong.
Thanks for the details @mshima
No branches or pull requests
What does not work anymore
I used to instantiate and run a generators like follows:
This used to work but now does not skip install anymore. I couldn't pinpoint the exact time this started to fail.
Work-around
const env = yeoman.createEnv()
env.options = { skipInstall: true }
const appGen = env.instantiate(myRequiredGenerator)
await env.runGenerator(appGen)
The text was updated successfully, but these errors were encountered: