Skip to content
Advertisement

node_modules is not recognized as an internal or external command

I’m trying to write a test automation script using appium, jasmine, and perfecto mobile. I’m using the project cloned from the following URL with my own configuration Appium Javascript Example

The problem is when I execute the npm test command I get the following error

node_modules is not recognized as an internal or external command

This is how the packages.json script looks like:

JavaScript

Advertisement

Answer

you need to provide relative path properly:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement