npm start not working / How to fix npm error React /npm start error node js /npm start in vs code

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 206

  • @Codingcherry
    @Codingcherry  2 года назад +2

    if still not working please watch :- ruclips.net/video/aAPOmYZSRUA/видео.html

  • @kaushalmore5773
    @kaushalmore5773 2 года назад +3

    before npm start go to your app first, in powershell terminal
    D:> react > cd my-app
    D:> react > cd my-app > npm start
    by the way thanku sir

    • @Codingcherry
      @Codingcherry  2 года назад +1

      Thanks for that!

    • @K_Clovedramas
      @K_Clovedramas 3 месяца назад

      Thanks bro 👍 meri 2 min bacha li tumne😂

  • @roachjuice5222
    @roachjuice5222 Год назад +3

    Why can't all videos be this simple and to the point? Thanks bro,you are the man!!!!!

    • @Codingcherry
      @Codingcherry  Год назад +2

      Thank you so much for your kind words ♥️

  • @slancerk1009
    @slancerk1009 2 года назад +8

    thank you but curious to know what exactly the "SKIP_PREFLIGHT_CHECK=true;" is doing?

  • @careerwithmann481
    @careerwithmann481 Год назад +2

    thanku so much sir i was trying to fix this issue from one day ago and i will trying to quit the react journey.. but thanku so much for this video

  • @behradart-bang855
    @behradart-bang855 2 года назад +2

    it works fine but before getting this error it took like 5 secs to open the tab now takes around 2 to 3 min, any way to fix it?

  • @vamsikrishna-dq3du
    @vamsikrishna-dq3du 3 года назад +3

    Hi, I tried it but not working on it, I am getting error as :-
    Invalid options object. React refresh Plugin has been initialised using an options object that doesn't match API schema .

    • @vamsikrishna-dq3du
      @vamsikrishna-dq3du 3 года назад +1

      Options.overlay.module: the provided value "D:\\myreactapp\
      ode_modules\
      eact-dev-utils\
      efreshOverlayInterop.js" contains exclamation mark(!) Which is not allowed because it's reserved for loader syntax.
      -i had checked this "refreshOverlayInterop.js "file it hasn't any ! Mark ..

    • @Codingcherry
      @Codingcherry  3 года назад

      Ok i will work on it.

    • @vamsikrishna-dq3du
      @vamsikrishna-dq3du 3 года назад +1

      @@Codingcherry bro thanks !!, i solved it bro, issue happened because ,I named one of my directory with ' ! ' Mark , so by that I got the issue, now I renamed it ,it was working fine ..

    • @vamsikrishna-dq3du
      @vamsikrishna-dq3du 3 года назад +1

      @@Codingcherry if our node modules were Installed in directory which we had renamed ,, we needed to edit the environment variable path also . Or we need set the environment for the edited directory

  • @jsjhawar4535
    @jsjhawar4535 Год назад +1

    I am getting "the development build is not optimized error.

  • @Blend_Bloom
    @Blend_Bloom Год назад +1

    A new error is shown - react was conflicted between package .json please help me

  • @md.mohiulislam6516
    @md.mohiulislam6516 2 года назад +1

    tnx. but why not working in vs code terminal?

  • @richardrodriguez1069
    @richardrodriguez1069 2 года назад +1

    no such file or directory
    what should I do

  • @sruthisvpillai2432
    @sruthisvpillai2432 Год назад +1

    'react-scripts' is not recognized as an internal or external command, operable program or batch file. PS C:\Users\TOSHIBA\Documents\Resources\03 React Basics and working with components\004-creating a new react project\01-starting-setup>

  • @kanamachi9185
    @kanamachi9185 2 года назад +1

    when install bootstrap or others packages/library that time also not working. can you please help how to solve.

  • @AbuleMerdasa
    @AbuleMerdasa Год назад +1

    To create folder (.env) operation not permitted

  • @rahmachkel2594
    @rahmachkel2594 Год назад +1

    i followed the steps but i got the same problem when i typed npm start !!

  • @stockprooo
    @stockprooo 11 месяцев назад +1

    I have created a new file Header.js .... created a function header.. exported it .... imported inside the app.js...... but unable to use it as a tag in app.js ... like how r we supposed to use it in react...

  • @ahme-alnono
    @ahme-alnono Год назад +1

    i switch from windows to linux because this problem and i am happy with linux
    but when i show this video i know that i can save my time and just solve the problem not change the os

  • @dastejindersingh6811
    @dastejindersingh6811 2 года назад +1

    This is working through powershell BUT if i write (npm start) in vs code then again error is coming. Tell me what i do ?

    • @Codingcherry
      @Codingcherry  2 года назад +1

      Watch the second part may be it can help 👍
      If still not worked i will find out. A way

    • @dastejindersingh6811
      @dastejindersingh6811 2 года назад +1

      @@Codingcherry Thanks it is Working 👍🏻

    • @Codingcherry
      @Codingcherry  2 года назад +1

      @@dastejindersingh6811 Welcome

  • @learnabout1008
    @learnabout1008 10 месяцев назад +1

    no need of .env
    youre running that script in different directory look at your directory in cmd,
    first of all goto your project by cd my-app and then try to run it will work.

    • @sagarverma6399
      @sagarverma6399 9 месяцев назад +2

      no not working i am running in the same folder where package.json is still not running even no error os their
      Err: (node:8588) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
      (Use `node --trace-deprecation ...` to show where the warning was created)
      (node:8588) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.

    • @ravindradorugade574
      @ravindradorugade574 9 месяцев назад

      ​​@@sagarverma6399 have you updated node ?
      And could you tell me which command are you exactly using that causing this error

  • @mahakalkeladle5666
    @mahakalkeladle5666 2 года назад +1

    unable to reach servers falling back to using the cached dependency map (bundle nativemodules.json) from the package expo installed in your your project
    Please solve this issue in expo cli

  • @maheshpatil9750
    @maheshpatil9750 3 года назад +1

    it's working but if we create another react app this error occurred again. can you give permanent solution of this error?

    • @Codingcherry
      @Codingcherry  3 года назад +1

      Its a permanent solution btw..when u manipulate the jason setting its should work for all react app.
      Try to follow it again or check the settings.jason file .if there any problem solve it..i mean check the problem tab bellow..
      Though i will work on the same..
      Thank you..

    • @maheshpatil9750
      @maheshpatil9750 2 года назад

      @@Codingcherry thanks

  • @darkknight5943
    @darkknight5943 Год назад +1

    Thank you very muchh. I fixed my problem.
    You got me out of big trouble :)

  • @udaysankar9411
    @udaysankar9411 10 месяцев назад +1

    i have problem please help
    C:\Users\acer>node --version
    v20.10.0
    C:\Users\acer>npm --version
    node:internal/modules/cjs/loader:1147
    throw err;
    ^
    Error: Cannot find module 'C:\Program Files
    odejs
    ode_modules
    pm\bin
    ode_modules
    pm\bin
    pm-cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
    }
    Node.js v20.10.0
    node:internal/modules/cjs/loader:1147
    throw err;
    ^
    Error: Cannot find module 'C:\Program Files
    odejs
    ode_modules
    pm\bin
    ode_modules
    pm\bin
    pm-cli.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
    code: 'MODULE_NOT_FOUND',
    requireStack: []
    }
    Node.js v20.10.0
    C:\Users\acer>

  • @meem3635
    @meem3635 2 года назад +1

    how did you write square before true

  • @rajeshwarisn1155
    @rajeshwarisn1155 Год назад +1

    Thank you so much 😇this solution worked 👍🏻

  • @mansoorafzal4344
    @mansoorafzal4344 11 месяцев назад +1

    node_modules\postcss-safe-parser\lib\safe-parser.js:1:17) {
    code: 'ERR_PACKAGE_PATH_NOT_EXPORTED' any solution for this error

    • @Codingcherry
      @Codingcherry  11 месяцев назад +1

      Sure will investigate this and let u know the same...

    • @mansoorafzal4344
      @mansoorafzal4344 11 месяцев назад

      @@Codingcherry thanks error fixed

  • @IslamicInspiration-y2h
    @IslamicInspiration-y2h Год назад +1

    Thankyou very much it resolved my issue

  • @taebear5301
    @taebear5301 2 года назад +1

    It shows missing script start and error message . please help me to solve it

  • @vijaychoudhary7255
    @vijaychoudhary7255 3 года назад +2

    Awesome video bro
    Bro you can do it by typing cd my-app in terminal then enter and then type npm start

  • @JbbComputerEducation
    @JbbComputerEducation Год назад +1

    Thank you, very helpful and ver easy solution

  • @sarimdev
    @sarimdev 2 года назад +6

    thank you so much you saved my codding day

  • @KUK_NandiniSingh
    @KUK_NandiniSingh 2 месяца назад +1

    should we have to always open this like that

    • @Codingcherry
      @Codingcherry  2 месяца назад

      No this is a temporary basis I have shared an alternative solution to this please check the same..

  • @ayushacharya4778
    @ayushacharya4778 2 года назад +2

    you are the best. thank you. Even though it was not my problem, you gave me an idea to solve it. Thanks a lot

  • @alisher784
    @alisher784 2 года назад

    But now it showing following error
    'react-scripts' is not recognized as an internal or external command, operable program or batch file.
    Please can you tell me where I'm missing something... I'll be very greatfull. Thanks

    • @kapall3021
      @kapall3021 Год назад

      1- go to terminal
      2- write cd and (your file name)
      3- npm start

  • @AL-KAPOTE
    @AL-KAPOTE 2 года назад +1

    when i find this welcome file please help

  • @memefulland7140
    @memefulland7140 2 года назад +1

    bro isse to hogya but agr hme direct vs code k powershell me npm start likhna hai to error dera hai fir

  • @amnashafqat7936
    @amnashafqat7936 Год назад +2

    Very well done bro

  • @kapoormohit17
    @kapoormohit17 2 года назад +19

    I tried this , but it's still giving me the same error.

    • @madhuraju3020
      @madhuraju3020 2 года назад

      Did the error solved for u

    • @madhuraju3020
      @madhuraju3020 2 года назад +1

      I am getting that error for angular

    • @kapoormohit17
      @kapoormohit17 2 года назад

      @@madhuraju3020 Yes it’s resolved now

    • @madhuraju3020
      @madhuraju3020 2 года назад

      @@kapoormohit17 can u share the process

    • @kapoormohit17
      @kapoormohit17 2 года назад +1

      @@madhuraju3020 ok sure
      Give me some time.

  • @adityakundu4363
    @adityakundu4363 3 года назад +1

    Thanks...after suffering 3hour finally...❤️❤️❤️❤️

    • @Codingcherry
      @Codingcherry  3 года назад

      Thank you keep supporting

    • @adityakundu4363
      @adityakundu4363 3 года назад

      @@Codingcherry is there any way to run the server through vs code?now i have to open powershell all time.i tried in vs code after the trick you said but in vs code thats not working. please reply. btw thanks.

    • @Codingcherry
      @Codingcherry  3 года назад

      It should work.. though i will work on it

    • @adityakundu4363
      @adityakundu4363 3 года назад +1

      @@Codingcherry vs code ma npm start likhne sa kam nahi hota ye bol raha hu!

    • @Codingcherry
      @Codingcherry  3 года назад

      Yes i got it..

  • @Kostyan_763
    @Kostyan_763 Год назад +2

    Thank you very much, you helped a lot, everything works)

  • @RambabuRambabu-pd4qj
    @RambabuRambabu-pd4qj 2 года назад +1

    thank you so much sir, Ur video helping much more begin to learners ..

  • @Hungryforlearning
    @Hungryforlearning 3 года назад +2

    Thanks brother... You save my life..❤️

    • @Codingcherry
      @Codingcherry  3 года назад +1

      These words means a lot to me . Thank you n keep supporting.

  • @rexes6000
    @rexes6000 2 года назад +1

    It shows the exact same error in the powershell. Help

  • @glyricx
    @glyricx 3 года назад +2

    By which application you're recording this ? Screen recorder name plz !

    • @Codingcherry
      @Codingcherry  3 года назад +1

      i will create a particular video for it

    • @glyricx
      @glyricx 3 года назад

      @@Codingcherry sure waiting bro 😊

  • @rogerbatista6472
    @rogerbatista6472 Год назад +1

    Thank you, man! You helped all of us successfully!

  • @TheTrauma
    @TheTrauma 2 года назад +2

    what's the song's name?

  • @osakiller3952
    @osakiller3952 2 года назад +1

    bro it says cannot find the path because it does not exist pls make another vid about it

    • @Codingcherry
      @Codingcherry  2 года назад

      Bro i have already made a second vdo on it... please read all below comment from others may b it can help

  • @locumania
    @locumania 2 года назад +1

    Wow ! Awesome!! It trully worked and I'm not a bot lol.

  • @emonkhanedward5946
    @emonkhanedward5946 Год назад +1

    thanks bro. u saved the tym

  • @theautiscoder
    @theautiscoder 2 года назад

    Mine is saying npm isnt recognised as the name of cmdlet

    • @kapall3021
      @kapall3021 Год назад

      1- go to terminal
      2- write cd and (your file name)
      3- npm start

  • @naansamara5571
    @naansamara5571 3 года назад +1

    crbug/1173575, non-JS module files deprecated.
    How to solve this issue?
    i have been struggling with this for 2 days. can anyone pls help me out?

    • @Codingcherry
      @Codingcherry  3 года назад

      Its appears before creating the react app or when u start your app

    • @naansamara5571
      @naansamara5571 3 года назад +1

      @@Codingcherry it appears when i debug the code

    • @naansamara5571
      @naansamara5571 3 года назад +1

      @@Codingcherry pls help me sir

    • @naansamara5571
      @naansamara5571 3 года назад +1

      @@Codingcherry can u pls help me?

    • @Codingcherry
      @Codingcherry  3 года назад

      @@naansamara5571 you dont have to debug the code just run your code using npm start. it will run your react application on local server.

  • @amaleley
    @amaleley 3 месяца назад +1

    It’s Perfect! Thank you!

    • @Codingcherry
      @Codingcherry  3 месяца назад +1

      Glad to be of service 😊

  • @milankbudha
    @milankbudha 2 года назад

    not working for me bro

  • @pkpanchlivlogs2568
    @pkpanchlivlogs2568 2 года назад +1

    helpfull thank you sir

  • @muhammadraza2895
    @muhammadraza2895 2 года назад +1

    Great very helpful tutorial

  • @rakhiyadav2763
    @rakhiyadav2763 2 года назад

    Thank You So Much. Helpful and to the point solution.

  • @danielebellezza8699
    @danielebellezza8699 3 года назад +1

    where I find my react-app-folder? please i need help (minute 1.11)

    • @Codingcherry
      @Codingcherry  3 года назад

      The folder Where u have saved yr file..

  • @prajwalkr5777
    @prajwalkr5777 Год назад +1

    Thank you bro it helped a lot

  • @saritayadav2182
    @saritayadav2182 Год назад +1

    Thank u sir it's really work

  • @harshdasila6680
    @harshdasila6680 2 года назад +1

    merko yaha bhi same error dera h bhai

  • @tapasdalui865
    @tapasdalui865 3 года назад +1

    Thank you. It's really work for me.

  • @TheDanchickPro
    @TheDanchickPro Год назад +1

    ACTUALLY WORKED WHAT A LEGEND

  • @nahomfikadu
    @nahomfikadu Год назад +1

    it is not clear to see

    • @Codingcherry
      @Codingcherry  Год назад

      Sorry for that but its uploded in 1080p could.you please check your resolution setting ...may be then it's work

  • @nikhilchoudhary519
    @nikhilchoudhary519 2 года назад +1

    Bro any permanent solution?

  • @sahlatc6698
    @sahlatc6698 Год назад +1

    Thank you😊

  • @cevdetuslu5031
    @cevdetuslu5031 2 года назад +1

    thank you thank youuuuuuuuuuuuuuuuuuuuuuuuu vvery veryveyrvery much

  • @ReyBanYAHUAH
    @ReyBanYAHUAH 2 года назад +1

    Always remember we must repent of our sins (sin is transgression The Law Of Yahuah The Father in Heaven. The Law are The Books: Genesis, Exodus, Leviticus, Numbers, & Deuteronomy). We must repent of our sins and Have Belief On Yahusha The Messiah. HE Died and Rose three days later so that we can be forgiven of our sins!
    Come to HIM🙂🙂🙂🙂🙂🙂🙂

  • @hectordsol
    @hectordsol 2 года назад

    thank you for your help.. it work for me..

  • @AdityaRaj-df5wm
    @AdityaRaj-df5wm 2 года назад

    Helpful.....it really worked 👍

  • @haris4392
    @haris4392 10 месяцев назад +1

    Thanks buddy 🎉🎉🎉😊👍

  • @BenjaSarmiento_
    @BenjaSarmiento_ Год назад +1

    thanks you so much bro

  • @tabotcharlesbessong3756
    @tabotcharlesbessong3756 2 года назад +1

    Thanks a lot for your help

  • @AyushKumar-bj6yq
    @AyushKumar-bj6yq 2 года назад +1

    are you from IIT ?

    • @Codingcherry
      @Codingcherry  2 года назад

      Nope

    • @AyushKumar-bj6yq
      @AyushKumar-bj6yq 2 года назад

      @@Codingcherry then how you know so much about development ?
      Are you doing bca

  • @TuanTran-lc1cg
    @TuanTran-lc1cg 2 года назад +1

    Thank you very much

  • @ayushdabhi5138
    @ayushdabhi5138 2 года назад +2

    Its Working now

  • @gaininfo9806
    @gaininfo9806 2 года назад

    Sir you are great

  • @kauanes.5533
    @kauanes.5533 2 года назад +1

    just THANK YOU

  • @solyazad2868
    @solyazad2868 3 дня назад

    good bro

  • @dhineshkumara.r7623
    @dhineshkumara.r7623 2 года назад +1

    Thx bro it worked ✌️✌️✌️✌️✌️✌️

  • @rafaeljuarezflores6333
    @rafaeljuarezflores6333 2 года назад +1

    thank you so much

  • @saeedzafar583
    @saeedzafar583 2 года назад +1

    👍THANKS BRO

  • @ramya.a3795
    @ramya.a3795 Год назад +1

    Tq it's open

  • @REX-si4vz
    @REX-si4vz 2 года назад +1

    thank you brother

  • @Zedxwhy
    @Zedxwhy Год назад +1

    love yu bro

  • @programmingschool9662
    @programmingschool9662 2 года назад +1

    thank you my friend

  • @jorgereategui6
    @jorgereategui6 4 месяца назад +1

    thanks!

  • @DTPHAMANKUMAR
    @DTPHAMANKUMAR 2 года назад +1

    Thanks man

  • @abhaypandit5039
    @abhaypandit5039 Год назад

    Thank you so much ❤

  • @martinacorrea4250
    @martinacorrea4250 Год назад +1

    gracias te mereces el cielo :3

  • @beno.mp4
    @beno.mp4 Год назад +1

    thanks a lot :D

  • @kunalgulati3358
    @kunalgulati3358 2 года назад +1

    Thanks

  • @comedycreation3393
    @comedycreation3393 Год назад

    Thanks bro

  • @saurabh-xg4qb
    @saurabh-xg4qb 2 года назад +1

    It Works thanks u so much

  • @SanjeevSharma-rm8yk
    @SanjeevSharma-rm8yk 3 года назад +1

    Thanks bro👍🏻

  • @Basil_Porphyrogenitos
    @Basil_Porphyrogenitos 2 года назад

    thank you so much king

  • @NintendoxBR
    @NintendoxBR Год назад +2

    OBRIGADO CARINHAAAAAAAAAAAAA ❤❤ br

  • @spradhan5316
    @spradhan5316 3 года назад +1

    hello bro mai apko direct kese contact karu?
    Mera react npm start problem solve nehi hua plz reply 🙏

    • @Codingcherry
      @Codingcherry  3 года назад

      Dm me on insta

    • @spradhan5316
      @spradhan5316 3 года назад +1

      @@Codingcherry bhai insta pe message kya reply karo plz 🙏🙏🙏

    • @Codingcherry
      @Codingcherry  3 года назад

      @@spradhan5316 go to about section u will find a link there

  • @feridferecli2001
    @feridferecli2001 Год назад +1

    SKIP_PREFLIGHT_CHECK =true;

  • @manish_55
    @manish_55 2 года назад +1

    SKIP_PRIFLIGHT_CHECK =true;

  • @rumaisa765
    @rumaisa765 Год назад +1

    It really works 🥹🥹🥹thankewwww