Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Postinstall Script fails on Windows #526

Open
ghost opened this issue Aug 13, 2017 · 0 comments
Open

Postinstall Script fails on Windows #526

ghost opened this issue Aug 13, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 13, 2017

On windows, after 'npm install' has completed, the very last postinstall command for protractor fails on windows. It looks like the other commands are prefixed with 'node' but this one is not which results in the following error:

'.' is not recognized as an internal or external command, operable program or batch file.

The command:

./node_modules/protractor/bin/webdriver-manager update

A quick workaround is to simply run the same command but prefixed with 'node' which worked. e.g:

node ./node_modules/protractor/bin/webdriver-manager update

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants