Skip to content
New issue

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

this.installDependencies() is deprecated without suggestion of the new one #671

Closed
phatpham9 opened this issue Jun 7, 2021 · 1 comment

Comments

@phatpham9
Copy link

phatpham9 commented Jun 7, 2021

Type of issue

I got a warning of deprecated this.installDependencies() but without the new one suggestion.

this.yarnInstall() is deprecated too


My environment

  • OS version/details: macOS Big Sur 11.4
  • Node version: 12.21.0
  • Yarn version: 1.22.10
  • Version of yo : 4.2.0

Expected behavior

Should have suggestion of the new one

Current behavior

Steps to reproduce the behavior

Command line output

(method) Generator<Generator.GeneratorOptions>.installDependencies(options?: Generator.InstallOptions): void
@deprecated
Runs npm and bower, in sequence, in the generated directory and prints a message to let the user know.

@example
this.installDependencies({
  bower: true,
  npm: true
}).then(() => console.log('Everything is ready!'));

@example
this.installDependencies({
  yarn: {force: true},
  npm: false
}).then(() => console.log('Everything is ready!'));
@phatpham9
Copy link
Author

wrong repo & found a solution here yeoman/generator#1294 (comment). closing now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant