Question: Npm Run Watch And Npm Run Build On Windows

Npm Run Watch And Npm Run Build On Windows

Hi There, I want to make some front-end changes, like adding extra fields and modifying colors. However, after making these changes, I can't run the "npm run watch" and "npm run build" co

S

Sebahattin

Asked

Hi There,

I want to make some front-end changes, like adding extra fields and modifying colors. However, after making these changes, I can’t run the “npm run watch” and “npm run build” commands—I get errors in my console. How can I solve this problem? I am using a Windows machine with a WAMP server.

Thanks

  • MS

    Mian Saleem

    Answered

    Hello,

    For local development please use npm run dev after installing the dependencies with npm i

    Thank you

  • S

    Sebahattin

    Answered

    After running the command, I get a corrupted website. Please check the attached photo.

  • MS

    Mian Saleem

    Answered

    Hello,

    Please user proper domain OR you can run php artisan serve in another terminal windows and access the site with http://localhost:8000

    Thank you

  • S

    Sebahattin

    Answered

    Nothing happened, same problem.

  • S

    Sebahattin

    Answered

    any update?

  • MS

    Mian Saleem

    Answered

    Hello,

    I am clueless, please ask help form any friend that has used Laraval & Node on windows.

    If you are share the npm run dev and then localhost:8000 full page screenshots that might help me understand the issue.

    Thank you

  • S

    Sebahattin

    Answered

    I can’t upload the video here, so I sent it via email. Please check your email.

  • MS

    Mian Saleem

    Answered

    Hello,

    Please check the browser developer tools’ console and network tabs for errors.

    Thank you

  • S

    Sebahattin

    Answered

    i see only this message on console tab, check attachment img please

  • S

    Sebahattin

    Answered

    i see only this message on console tab, check attachment img please

  • Login to Reply