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

Update inquirer version in readme.md with a note on versions #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions step03c_import_inquirer_ECMAScript_module/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Using Inquirer Package

The latest version (9+) of [Inquirer](https://github.com/SBoudrias/Inquirer.js/) has start using Native ECMA Script Packages. In most of our projects and assignment we will use this package.

Note: Inquirer versions 10+ are incompatible with how we use inquirer.prompt(). Version 10.0.0 gives error on using prompted variable as it has type unknown, and 10.1.0+ do not support our prompt usage entirely.
Give the following command:

npm i inquirer
npm i inquirer@9.0.0

npm i --save-dev @types/inquirer

Expand All @@ -16,4 +16,4 @@ Give the following commands:

tsc

node app.js
node app.js