Base solution for your next web application
Open Closed

Issue while creating Bundles #10117


User avatar
0
kansoftware created

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 9.1
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about application

while i am running npm run create-bundles i am getting following error in project

[email protected] create-bundles D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc

yarn && gulp buildDev

yarn install v1.17.3
warning package.json: No license field
warning [email protected]: No license field
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.53s.
[17:39:15] Using gulpfile D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\gulpfile.js
[17:39:15] Starting 'buildDev'...
Bundles are being created, please wait...
D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\wwwroot\view-resources\Areas\App\Views\_Bundles\manage-dynamic-entity-property-values-modal-min.js updated
[17:40:34] The following tasks did not complete: buildDev
[17:40:34] Did you forget to signal async completion?
events.js:288
      throw er; // Unhandled 'error' event
      ^

Error: File not found with singular glob: D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\wwwroot\Common\Styles\fonts\keenthemes-icons\Ki.eot (if this was purposeful, use `allowEmpty` option)
    at Glob.<anonymous> (D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\glob-stream\readable.js:84:17)
    at Object.onceWrapper (events.js:418:26)
    at Glob.emit (events.js:311:20)
    at Glob.EventEmitter.emit (domain.js:482:12)
    at Glob._finish (D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\glob-stream\node_modules\glob\glob.js:197:8)
    at done (D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\glob-stream\node_modules\glob\glob.js:182:14)
    at Glob._processSimple2 (D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\glob-stream\node_modules\glob\glob.js:688:12)
    at D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\glob-stream\node_modules\glob\glob.js:676:10
    at Glob._stat2 (D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\glob-stream\node_modules\glob\glob.js:772:12)
    at lstatcb_ (D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\glob-stream\node_modules\glob\glob.js:764:12)
Emitted 'error' event on DestroyableTransform instance at:
    at Pumpify.emit (events.js:311:20)
    at Pumpify.EventEmitter.emit (domain.js:482:12)
    at Pumpify.Duplexify._destroy (D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\duplexify\index.js:191:15)
    at D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\node_modules\duplexify\index.js:182:10
    at processTicksAndRejections (internal/process/task_queues.js:79:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] create-bundles: `yarn && gulp buildDev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] create-bundles script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\DELL\AppData\Roaming\npm-cache\_logs\2021-02-23T12_10_34_419Z-debug.log

D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc>


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @kansoftware

    Could you share your bundles.json file as well ?

    Thanks,

  • User Avatar
    0
    kansoftware created

    Please find Bundles.json at below url:

    http://103.89.253.21:420/bundles.json

  • User Avatar
    0
    musa.demir created

    Hi @kansoftware

    I checked your bundle file. It worked withut error. It says File not found with singular glob: D:\2020\Projects\Sprngnew1\trunk\src\CDP.Web.Mvc\wwwroot\Common\Styles\fonts\keenthemes-icons\Ki.eot but it does not also exist on my pc. Can you please share detailed log located C:\Users\DELL\AppData\Roaming\npm-cache_logs\2021-02-23T12_10_34_419Z-debug.log ?