Hi,
I opened a ticket about this issiue last week but it was redirected to an earlier ticket I opened that is not related (and is now fixed). This is a different fault condition, I'd really appreciate any help you can offer. Thanks
I'm following the tutorial at:
https://docs.microsoft.com/en-us/azure/app-service/tutorial-php-mysql-app?pivots=platform-linux
Everything seems to work until I get to the 'Push to Azure from Git' step. At that point, I get:
remote: > Illuminate\Foundation\ComposerScripts::postInstall
remote: > php artisan optimize
remote: Generating optimized class loader
remote: ..............
remote: The compiled services file has been removed.
remote: Running npm install
remote: npm ERR! install Couldn't read dependencies
remote: npm ERR! Error: No 'name' field
remote: npm ERR! at validName (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:493:40)
remote: An error has occurred during web site deployment.
remote: npm ERR! at final (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:283:27)
remote: npm failed
remote: npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:115:33
remote: npm ERR! at cb (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:48:11)
remote: npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:237:40
remote: npm ERR! at [object Object].<anonymous> (fs.js:123:5)
remote: npm ERR! at [object Object].emit (events.js:64:17)
remote: npm ERR! at fs.js:1190:12
remote: npm ERR! at Object.oncomplete (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:94:5)
remote: npm ERR! [Error: No 'name' field]
remote: npm ERR! You may report this log at:
remote: npm ERR! <http://github.com/isaacs/npm/issues>;
remote: npm ERR! or email it to:
remote: npm ERR! <npm-@googlegroups.com>
remote:
remote: npm ERR! System Windows_NT 6.2.9200
remote: npm ERR! command "C:\\Program Files (x86)\\nodejs\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--production"
remote: npm ERR! cwd C:\home\site\wwwroot
remote: npm ERR! node -v v0.6.20
remote: npm ERR! npm -v 1.1.37
remote: npm ERR! message No 'name' field
remote: npm
remote:
remote: Error - Changes committed to remote repository but deployment to website failed.
Any help or suggestions as to how to debug would be much appreciated
TIA