Hi @ismcagdas,
I'm having a challenge with the original TenantDashboard. It works well on localhost but gets an error 500 (An internal error occurred during your request!) on Azure. I cannot seem to find the exact error on the browser console or application insights on Azure. Funny enough, every other page works just fine.
Hi,
I've been having this issue on npm.
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;D:\OneDrive\Projects\crm\src\reos.Web.Mvc\node_modules.bin;C:\Program Files\PowerShell\7;C:\Python39\Scripts;C:\Python39;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\Program Files\Microsoft SQL Server\140\Tools\Binn;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C:\Program Files\dotnet;C:\Program Files (x86)\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\Tools\Binn;C:\Program Files\Microsoft SQL Server\150\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files\Azure Data Studio\bin;C:\Program Files\nodejs;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Users\USER\AppData\Local\Microsoft\WindowsApps;C:\Users\USER.dotnet\tools;C:\Program Files\Azure Data Studio\bin;C:\Users\USER\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\USER\AppData\Roaming\npm
9 verbose lifecycle [email protected]~create-bundles: CWD: D:\OneDrive\Projects\crm\src\reos.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. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28) 13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd D:\OneDrive\Projects\crm\src\reos.Web.Mvc
16 verbose Windows_NT 10.0.21996
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 v14.17.6
19 verbose npm v6.14.15
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 ]
Hi @ismcagdas,
I have sent the web project via mail with subject NPM ERROR #10591
Hi @ismcagdas,
Got it and responded. Thanks.
I was able to get rid of npm errors and have it build successfully. However, I have now lost all links to .css and .js and the solution returns about 22 errros like below.
GET https://localhost:44302/view-resources/Areas/App/Views/_Bundles/common-scripts.min.js?v=SgHm-Pxah6Yy5iyMi2r3BAID-N96tRTa3oznETAo1j4 net::ERR_ABORTED 404
The solution cannot run properly.
Hi @ismcagdas,
I think this issue started when I tried to install devexpress reports and configured it to run on the mvc project.
Do you see an error message on the browser console ? Yes, I have attached here.
Do you see an erorr when you run npm run create-bundles command ? No, npm run create-bundles runs perfectly.
Hi @ismcagdas,
I have shared the entire project to the email thread. Kindly assist, this is affecting timelines. Thank you.