angularprotractorgulp-protractor

Can't use protractor - spawn protractor ENOENT


I want to run tests for a project, using Windows 10. The tests spawn protractor, which errors:

Error: spawn protractor ENOENT

I tried to do everything that might solve it, including:

I still get this error when trying to spawn protractor.

Versions:

Source code: https://github.com/driftyco/ionic/blob/master/scripts/gulp/tasks/snapshot.ts#L80


Solution

  • For closing purposes. The issue was identified in https://github.com/nodejs/node/issues/3675

    because...windows.