-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: path must be string or Buffer - Deployment to azure #6535
Comments
@Ruud-cb , Sorry for the issue you are facing. Can you please share the debug logs (set |
Hi @vincentdass Here is a screenshot of the artifact, might be related: Here is the log around the error:
Here is a download link to the full log, error occurs in first Deploy Azure App Service |
@Ruud-cb , thanks for the debug logs. |
@vincentdass Wow you actually gave me a hint there. I was a bit confused when I looked at the logs again, because Babywatcher-Production\ProductionDrop\Babywatcher.MVC_Package is not part of this deployment operation of this step, here I am deploying Babywatcher.Web (which is in After checking the option, removing the SetParamters file value (saving) and then unchecking the option again, the solution was actually fixed, it just released correctly.
Notice the So perhaps another thing to note: When 'Publish using Web Deploy` is NOT checked, the value of 'SetParameters file' should be empty (made empty or be taken as empty). |
@Ruud-cb , We have added check to ignore setparams and other inputs, when web-deploy is disabled. |
Environment
Account: babywatcher. Team project name: Babywatcher, build definition name: Babywatcher-Production, build number 360 and 361, but more importantly Release 132, 133, 134, 135 (for production staging deployment)
Agent - Hosted or Private:
Using private for build (because of build issues on Hosted agent, but that is another issue), using Hosted agent for release. I have tried Hosted and Hosted VS2017 and private Agent, but it seems to be Agent version related.
Issue Description
Last successful release without changing properties/taks/settings: 2/21/2018 10:02 PM
Did 2 code changes this morning, both server-side related code (error is probably NPM related). Try to build and release as usual but got the error:
##[error]Error: TypeError: path must be a string or Buffer:
(here I have tried it on VS2017 Hosted agent, same result)
This is during deployment of a ASP.NET Core (2) web project, with using npm,angular for the front-end.
Error logs
NORMAL logs, when it went ok (Release 131 in my VSO), version was 3.3.36 of Agent
Currently (v3.3.41):
The text was updated successfully, but these errors were encountered: