Skip to content
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

npm install fail:"A parameter cannot be found that matches parameter name 'WarningPattern'" #383

Closed
vegar opened this issue Aug 7, 2015 · 3 comments

Comments

@vegar
Copy link

vegar commented Aug 7, 2015

My npm install-tasks have started to fail with the following message:

2015-08-07T19:49:13.1703608Z Executing the powershell script: C:\LR\MMS\Services\Mms\TaskAgentProvisioner\Tools\tasks\NpmInstall\0.1.3\NpmInstall.ps1
2015-08-07T19:49:15.3210712Z ##[error]A parameter cannot be found that matches parameter name 'WarningPattern'.

I'm using the hosted build agent.

Previous builds, using the 0.1.2 version of the NpmInstall task does not have this problem.

My guess would be that the Invoke-Task powershell cmdlet is fetched from an outdated ps module?
Will this error stop appearing after some time when changes are propagated ?

@chrispat
Copy link
Contributor

chrispat commented Aug 7, 2015

I apologize for that. We are currently rolling out a VSO update and the build machines have not yet updated to the latest version of the agent. They will be updating soon.

Thank you for your patience.

@vegar
Copy link
Author

vegar commented Aug 7, 2015

Guess I wasn't patience enough ;-)
Thanks for feedback. The new build stuff is really great!

@vegar vegar closed this as completed Aug 7, 2015
@sonali2409
Copy link

Hi Team,

Can I execute coded ui automated testcase on azure virtual machine using ‘visual Studio Test Using Test Agent’ in VSO Releases* hub???

merlynomsft added a commit that referenced this issue Sep 17, 2024
d945c133ec Add Gradle Jacoco templates v2 (#386)
e85429a2de Set the npmjs registry explicitly on publish command (#389)
527353751a Update BlobServiceClient Initialization Based on useCredential Parameter (#387)
dcdc738177 Migration to CFS (#371)
bcfa0f562a semver CVE fixes (#383)
77f4b6f8f0 Bumping up package version (#382)

git-subtree-dir: tasks-common
git-subtree-split: d945c133ec4917f0c4102f256a2bfc9053492334
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants