Base solution for your next web application
Open Closed

unable to find create-bundles #5768


User avatar
0
avanekar02 created

Hello

i am trying to do this

PUBLISH MVC 1- Open CMD and navigate to the MVC folder. Then run the below command to bundle your resource

npm run create-bundles

but i am unable to run as this error is shown

npm ERR! missing script: create-bundles

Regards Anwar


5 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Which folder are you in? Which version of ASP.NET Zero?

  • User Avatar
    0
    avanekar02 created

    hello aaron

    i am i the Web.MVC folder,

    Noor.Sched.Web.Mvc

    "version": "5.0.0",

  • User Avatar
    0
    aaron created
    Support Team

    create-bundles is for v5.5+.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @avanekar02

    There is a version dropdown on the https://aspnetzero.com/documents page. You can first select your version and then continue to other documents.

  • User Avatar
    0
    alper created
    Support Team

    I guess, this has been resolved.