v7.0.0Version 4.0.112.1.0ChromeWindows 10When I run the command protractor I get the following warning:
DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
I'm using angular-cli:
angular-cli: 1.0.0-beta.20-4
node: 7.0.0
os: win32 x64
Maybe there is already a fix for this warning? It's not breaking and it's working but couldn't find a solution on stackoverflow or anywhere online.
Initial code search of os.tmpdir in protractor:
There are no cases of os.tmpDir. It could be a dependency we are using...and will grep it later today.
The only dependency currently using os.tmpDir in master is the [email protected] dependency [email protected]. Taking a look at the beta branch, there are no uses of os.tmpDir.
It looks like users are still getting this error consistently (Nov 2017): https://github.com/angular/protractor/issues?utf8=%E2%9C%93&q=os.tmpdir
In our project we get this error. Unsure if relevant, but we're on
I've created a new issue to track this specific warning. Should be easier to track an maybe we'll get more luck maintainers noticing it this way... https://github.com/angular/protractor/issues/4657
Update npm: It will work
sudo npm i -g npm
Most helpful comment
It looks like users are still getting this error consistently (Nov 2017): https://github.com/angular/protractor/issues?utf8=%E2%9C%93&q=os.tmpdir
In our project we get this error. Unsure if relevant, but we're on