Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

ERROR: npm run create-bundles FAILS to execute on latest version of ASPNet Zero Project #8237


User avatar
0
JLombela created

Hi Support

I have diligently followed every steps for the ASP.NET Core MVC & JQuery infrastructure until it failed just when I attempted to run the npm run create-bundles command. I first tried with a demo version and now with a live version running version 8.1.0 and .NET Core 3.0 with Visual Studio 2019, but it still does not work. I have attached the error message as a screenshot. Can you please help me get this sorted urgently?

It seems as though it's not finding the correct file and when I look at the package.json file, it is not contained where the output error indicates the missing file. Is there an easy way to fix this please?

Thank you very much.

Regards John


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Please try yarn and npm run create-bunldes commands in the web.mvc directory.

    PS D:\aspnet-core\src\MyCompanyName.AbpZeroTemplate.Web.Mvc> yarn
    yarn install v1.19.1
    warning package.json: No license field
    warning [email protected]: No license field
    [1/4] Resolving packages...
    success Already up-to-date.
    Done in 0.34s.
    PS D:\aspnet-core\src\MyCompanyName.AbpZeroTemplate.Web.Mvc> npm run create-bundles
    
    > [email protected] create-bundles D:\aspnet-core\src\MyCompanyName.AbpZeroTemplate.Web.Mvc
    > gulp buildDev
    
    [10:38:03] Using gulpfile D:\aspnet-core\src\MyCompanyName.AbpZeroTemplate.Web.Mvc\gulpfile.js
    [10:38:03] Starting 'buildDev'...
    Bundles are being created, please wait...
    
  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.