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

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 208

  • @Codingcherry
    @Codingcherry  2 роки тому +3

    if still not working please watch :- ua-cam.com/video/aAPOmYZSRUA/v-deo.html

  • @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 ♥️

  • @kaushalmore5773
    @kaushalmore5773 2 роки тому +4

    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 5 місяців тому

      Thanks bro 👍 meri 2 min bacha li tumne😂

  • @slancerk1009
    @slancerk1009 2 роки тому +8

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

  • @careerwithmann481
    @careerwithmann481 2 роки тому +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?

  • @jsjhawar4535
    @jsjhawar4535 2 роки тому +1

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

  • @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

  • @Blend_Bloom
    @Blend_Bloom Рік тому +1

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

  • @kanamachi9185
    @kanamachi9185 2 роки тому +1

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

  • @stockprooo
    @stockprooo Рік тому +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...

  • @AbuleMerdasa
    @AbuleMerdasa Рік тому +1

    To create folder (.env) operation not permitted

  • @richardrodriguez1069
    @richardrodriguez1069 3 роки тому +1

    no such file or directory
    what should I do

  • @JbbComputerEducation
    @JbbComputerEducation 2 роки тому +1

    Thank you, very helpful and ver easy solution

  • @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>

  • @rajeshwarisn1155
    @rajeshwarisn1155 Рік тому +1

    Thank you so much 😇this solution worked 👍🏻

  • @md.mohiulislam6516
    @md.mohiulislam6516 2 роки тому +1

    tnx. but why not working in vs code terminal?

  • @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

  • @sarimdev
    @sarimdev 2 роки тому +6

    thank you so much you saved my codding day

  • @darkknight5943
    @darkknight5943 Рік тому +1

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

  • @meem3635
    @meem3635 2 роки тому +1

    how did you write square before true

  • @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

  • @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

  • @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.

  • @rahmachkel2594
    @rahmachkel2594 Рік тому +1

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

  • @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..

  • @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

  • @taebear5301
    @taebear5301 2 роки тому +1

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

  • @IslamicInspiration-y2h
    @IslamicInspiration-y2h Рік тому +1

    Thankyou very much it resolved my issue

  • @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 😊

  • @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

  • @udaysankar9411
    @udaysankar9411 Рік тому +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>

  • @TheTrauma
    @TheTrauma 2 роки тому +2

    what's the song's name?

  • @RambabuRambabu-pd4qj
    @RambabuRambabu-pd4qj 2 роки тому +1

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

  • @Kostyan_763
    @Kostyan_763 Рік тому +2

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

  • @AL-KAPOTE
    @AL-KAPOTE 2 роки тому +1

    when i find this welcome file please help

  • @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 3 роки тому

      @@Codingcherry thanks

  • @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.

  • @reading-ambience-e8f
    @reading-ambience-e8f Рік тому +1

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

  • @memefulland7140
    @memefulland7140 3 роки тому +1

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

  • @amaleley
    @amaleley 5 місяців тому +1

    It’s Perfect! Thank you!

    • @Codingcherry
      @Codingcherry  5 місяців тому +1

      Glad to be of service 😊

  • @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

  • @rakhiyadav2763
    @rakhiyadav2763 2 роки тому

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

  • @learnabout1008
    @learnabout1008 Рік тому +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 11 місяців тому +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 11 місяців тому

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

  • @KUK_NandiniSingh
    @KUK_NandiniSingh 4 місяці тому +1

    should we have to always open this like that

    • @Codingcherry
      @Codingcherry  4 місяці тому

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

  • @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

  • @pkpanchlivlogs2568
    @pkpanchlivlogs2568 2 роки тому +1

    helpfull thank you sir

  • @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

  • @rexes6000
    @rexes6000 2 роки тому +1

    It shows the exact same error in the powershell. Help

  • @locumania
    @locumania 2 роки тому +1

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

  • @haris4392
    @haris4392 Рік тому +1

    Thanks buddy 🎉🎉🎉😊👍

  • @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.

  • @mansoorafzal4344
    @mansoorafzal4344 Рік тому +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  Рік тому +1

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

    • @mansoorafzal4344
      @mansoorafzal4344 Рік тому

      @@Codingcherry thanks error fixed

  • @tapasdalui865
    @tapasdalui865 3 роки тому +1

    Thank you. It's really work for me.

  • @emonkhanedward5946
    @emonkhanedward5946 Рік тому +1

    thanks bro. u saved the tym

  • @amnashafqat7936
    @amnashafqat7936 Рік тому +2

    Very well done bro

  • @muhammadraza2895
    @muhammadraza2895 2 роки тому +1

    Great very helpful tutorial

  • @dhineshkumara.r7623
    @dhineshkumara.r7623 3 роки тому +1

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

  • @cevdetuslu5031
    @cevdetuslu5031 2 роки тому +1

    thank you thank youuuuuuuuuuuuuuuuuuuuuuuuu vvery veryveyrvery much

  • @saritayadav2182
    @saritayadav2182 2 роки тому +1

    Thank u sir it's really work

  • @prajwalkr5777
    @prajwalkr5777 Рік тому +1

    Thank you bro it helped a lot

  • @AyushKumar-bj6yq
    @AyushKumar-bj6yq 3 роки тому +1

    are you from IIT ?

    • @Codingcherry
      @Codingcherry  3 роки тому

      Nope

    • @AyushKumar-bj6yq
      @AyushKumar-bj6yq 3 роки тому

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

  • @harshdasila6680
    @harshdasila6680 3 роки тому +1

    merko yaha bhi same error dera h bhai

  • @hectordsol
    @hectordsol 2 роки тому

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

  • @sahlatc6698
    @sahlatc6698 Рік тому +1

    Thank you😊

  • @tabotcharlesbessong3756
    @tabotcharlesbessong3756 3 роки тому +1

    Thanks a lot for your help

  • @ReyBanYAHUAH
    @ReyBanYAHUAH 3 роки тому +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🙂🙂🙂🙂🙂🙂🙂

  • @milankbudha
    @milankbudha 2 роки тому

    not working for me bro

  • @AdityaRaj-df5wm
    @AdityaRaj-df5wm 2 роки тому

    Helpful.....it really worked 👍

  • @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..

  • @abhaypandit5039
    @abhaypandit5039 Рік тому

    Thank you so much ❤

  • @NintendoxBR
    @NintendoxBR Рік тому +2

    OBRIGADO CARINHAAAAAAAAAAAAA ❤❤ br

  • @saeedzafar583
    @saeedzafar583 2 роки тому +1

    👍THANKS BRO

  • @TuanTran-lc1cg
    @TuanTran-lc1cg 2 роки тому +1

    Thank you very much

  • @nikhilchoudhary519
    @nikhilchoudhary519 3 роки тому +1

    Bro any permanent solution?

  • @SanjeevSharma-rm8yk
    @SanjeevSharma-rm8yk 3 роки тому +1

    Thanks bro👍🏻

  • @BenjaSarmiento_
    @BenjaSarmiento_ 2 роки тому +1

    thanks you so much bro

  • @TheDanchickPro
    @TheDanchickPro 2 роки тому +1

    ACTUALLY WORKED WHAT A LEGEND

  • @ayushdabhi5138
    @ayushdabhi5138 2 роки тому +2

    Its Working now

  • @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

  • @kauanes.5533
    @kauanes.5533 2 роки тому +1

    just THANK YOU

  • @rafaeljuarezflores6333
    @rafaeljuarezflores6333 2 роки тому +1

    thank you so much

  • @gaininfo9806
    @gaininfo9806 2 роки тому

    Sir you are great

  • @programmingschool9662
    @programmingschool9662 2 роки тому +1

    thank you my friend

  • @saurabh-xg4qb
    @saurabh-xg4qb 3 роки тому +1

    It Works thanks u so much

  • @martinacorrea4250
    @martinacorrea4250 Рік тому +1

    gracias te mereces el cielo :3

  • @REX-si4vz
    @REX-si4vz 2 роки тому +1

    thank you brother

  • @ramya.a3795
    @ramya.a3795 Рік тому +1

    Tq it's open

  • @solyazad2868
    @solyazad2868 2 місяці тому +1

    good bro

  • @kunalgulati3358
    @kunalgulati3358 3 роки тому +1

    Thanks

  • @jorgereategui6
    @jorgereategui6 6 місяців тому +1

    thanks!

  • @Basil_Porphyrogenitos
    @Basil_Porphyrogenitos 2 роки тому

    thank you so much king

  • @DTPHAMANKUMAR
    @DTPHAMANKUMAR 2 роки тому +1

    Thanks man

  • @beno.mp4
    @beno.mp4 2 роки тому +1

    thanks a lot :D

  • @Zedxwhy
    @Zedxwhy Рік тому +1

    love yu bro

  • @comedycreation3393
    @comedycreation3393 Рік тому

    Thanks bro

  • @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 2 роки тому +1

    SKIP_PREFLIGHT_CHECK =true;

  • @rumaisa765
    @rumaisa765 Рік тому +1

    It really works 🥹🥹🥹thankewwww

  • @manish_55
    @manish_55 2 роки тому +1

    SKIP_PRIFLIGHT_CHECK =true;