'Microsoft Visual C++ Runtime error - Assertion Failed

Using: VS Code Working on: Running automation test scripts for WebdriverIO. Error facing:

enter image description here

because of this error, my test specs are not executing. Is there any way to get rid of this??



Solution 1:[1]

Please follow the below steps to resolve this issue

  1. Uninstall the current version of node.js.
  2. Go to https://nodejs.org/en/blog/release/
  3. Install the previous version of node.js (I installed from here 4. https://nodejs.org/dist/v14.17.3/node-v14.17.3-x64.msi)
  4. Restart your system
  5. Try building the project using npm install

I hope this will solve your problem

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Parashuram Vangi