Closed patrickliechty closed 7 years ago
not sure but seems like access issue. It is not able to create folder or access folder selenium
and/or its contents.
I had a similar issue on my MacBook and Ubuntu VM. try to give access and check once again. chmod -Rf 777 selenium
But it should not be trying to create the folder. This is npm version 3 that flattens the dependencies. No longer do we have node_modules folders under a dependency.
Yes, you are right, but gulp-protractor
is not doing here anything. It is protractor
under which the folder is there. May be should first try ./node_modules/.bin/webdriver-manager update
and check whether those folders are created or not. And check permissions for selenium folder. I see there is some problem with gulp-protractor
when access is restricted in Linux or Mac. That I will have to debug.
We are using protractor 5.1.1 with NodeJS 6.9.4 and gulp-protractor 4.1.0. I run
This is my gulpfile.js:
var webdriver_update = require("gulp-protractor").webdriver_update;
gulp.task('webdriver_update', webdriver_update);
If I run gulp webdriver_update I get this error which looks like it is expecting an older version of npm which does not flatten the dependencies.
[10:45:37] I/file_manager - creating folder /Users/liechtypo/sandbox/indexing3/node_modules/protractor/node_modules/webdriver-manager/selenium