Base solution for your next web application
Open Closed

npm run create-bundles is failing #9736


User avatar
0
ashvinu created

Prerequisites

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

  • What is your product version? 8.1.0
  • What is your product type (Angular or MVC)? MVC and JQuery
  • What is product framework type (.net framework or .net core)? .Net Core 3.1

Hi,

we have pushed the source code to Bitbucket. The yarn and npm run create command works fine on my machine. But when I pulled the code on another machine and run the npm rrun create-bundles command, I get the following error:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'create-bundles'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'precreate-bundles', 'create-bundles', 'postcreate-bundles' ]
5 info lifecycle [email protected]~precreate-bundles: [email protected]
6 info lifecycle [email protected]~create-bundles: [email protected]
7 verbose lifecycle [email protected]~create-bundles: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~create-bundles: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\MauPass\mitcinaf\src\MTCI.MauPass.Web.Mvc\node_modules\.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files (x86)\dotnet\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\nodejs\;C:\Program Files (x86)\Yarn\bin\;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator\AppData\Local\Yarn\bin;C:\Users\Administrator\.dotnet\tools
9 verbose lifecycle [email protected]~create-bundles: CWD: C:\MauPass\mitcinaf\src\MTCI.MauPass.Web.Mvc
10 silly lifecycle [email protected]~create-bundles: Args: [ '/d /s /c', 'gulp buildDev' ]
11 silly lifecycle [email protected]~create-bundles: Returned: code: 1  signal: null
12 info lifecycle [email protected]~create-bundles: Failed to exec create-bundles script
13 verbose stack Error: [email protected] create-bundles: gulp buildDev
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack     at EventEmitter.emit (events.js:315:20)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:315:20)
13 verbose stack     at maybeClose (internal/child_process.js:1021:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\MauPass\mitcinaf\src\MTCI.MauPass.Web.Mvc
16 verbose Windows_NT 10.0.17763
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "create-bundles"
18 verbose node v12.18.2
19 verbose npm  v6.14.5
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] create-bundles: gulp buildDev
22 error Exit status 1
23 error Failed at the [email protected] create-bundles script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Please assist urgently.

Thanks and Regards


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

    Hi @ashvinu

    Did you add additional steps to create-bundles process ? Is it possible for us to access your repo ? If so, we can try this on our environment and share the results with you.