Ultimate guide of inquirer updated version | @inquirer/prompts | How to use inquirer prompt library

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 9

  • @hingorohingoro9966
    @hingorohingoro9966 2 หลายเดือนก่อน +1

    Sir update Inquirer se kasam sy calculator be nhi banta help kardo plz

  • @gm.typist
    @gm.typist 2 หลายเดือนก่อน +1

    Salam sir inquirer tw string Hi value deta Hena Lkn Agr Hmen Number me Chaie hw Value tw kia Krenge?
    Q k pehle wali Update me Hm Type me number de skte the ab Nai De pa rhe.

    • @itmatepakistan
      @itmatepakistan  2 หลายเดือนก่อน +1

      Dear, isi video me mene chapter bnaya hua hay number k name se time stamp hay us ka 30:36 wo aap dekh lein us tarike se aap number me value le sktay hain. 😇
      Thanks for watching our videos

    • @gm.typist
      @gm.typist 2 หลายเดือนก่อน

      ​@@itmatepakistan ok sir thank you.❤️

  • @As-Sayyiq
    @As-Sayyiq 2 หลายเดือนก่อน

    I have followed step to step according to your video, but why isnt it working???
    this is my code:
    let nTotal: number = 0
    import { input } from '@inquirer/prompts';
    let hName = await input({
    message: "What is her name?"
    });
    if (hName = "Siddiqui") {
    nTotal + 7 }
    the error in cmd:
    mine.ts:4:13 - error TS1378: Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.
    4 let hName = await input ({
    ~~~~~
    node_modules/@inquirer/type/dist/cjs/types/inquirer.d.ts:2:8 - error TS1259: Module '"D:/thumbnail/GIAC/myLikes/node_modules/@types/mute-stream/index"' can only be default-imported using the 'esModuleInterop' flag
    2 import MuteStream from 'mute-stream';
    ~~~~~~~~~~
    node_modules/@types/mute-stream/index.d.ts:30:1
    30 export = MuteStream;
    ~~~~~~~~~~~~~~~~~~~~
    This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.
    Found 2 errors in 2 files.
    Errors Files
    1 mine.ts:4
    1 node_modules/@inquirer/type/dist/cjs/types/inquirer.d.ts:2
    D:\thumbnail\GIAC\myLikes>tsc mine.ts && node main.js
    mine.ts:4:13 - error TS1378: Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.
    4 let hName = await input({
    ~~~~~
    node_modules/@inquirer/type/dist/cjs/types/inquirer.d.ts:2:8 - error TS1259: Module '"D:/thumbnail/GIAC/myLikes/node_modules/@types/mute-stream/index"' can only be default-imported using the 'esModuleInterop' flag
    2 import MuteStream from 'mute-stream';
    ~~~~~~~~~~
    node_modules/@types/mute-stream/index.d.ts:30:1
    30 export = MuteStream;
    ~~~~~~~~~~~~~~~~~~~~
    This module is declared with 'export =', and can only be used with a default import when using the 'esModuleInterop' flag.

    • @itmatepakistan
      @itmatepakistan  2 หลายเดือนก่อน

      Thanks for watching our videos 😇
      aap ne environment set kia hay ?
      if yes then I do suggest k ek dafa dobara video view karain and sath sath steps follow karain agar phir bhi ye error aata hay then send us your error at email itmatepk@gmail.com, we'll try to resolve your error as soon as possible

  • @Mixchannel360
    @Mixchannel360 หลายเดือนก่อน

    Sir update inquirer sy calculator nahi banraha

    • @Mixchannel360
      @Mixchannel360 หลายเดือนก่อน

      Sir reply dy dena

  • @StarHMClip
    @StarHMClip 2 หลายเดือนก่อน

    Assalamualaikum.
    Boss ap apna koi contact number send kar daien .