question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

See original GitHub issue

Bug report

  • Node Version: v7.0.0
  • Protractor Version: Version 4.0.11
  • Angular Version: 2.1.0
  • Browser(s): Chrome
  • Operating System and Version Windows 10

When 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.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

14reactions
whyboriscommented, Nov 21, 2017

It looks like users are still getting this error consistently (Nov 2017): https://github.com/angular/protractor/issues?utf8=✓&q=os.tmpdir In our project we get this error. Unsure if relevant, but we’re on

  • Node 9.2.0 (error occurs with 8.9.1 and others)
  • Protractor 5.2.0
3reactions
devoto13commented, Jan 14, 2018

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

[DEP0022] DeprecationWarning: os.tmpDir() is deprecated ...
I'm opening this issue because: npm is crashing. npm is producing an incorrect install. npm is doing something I don't understand. npm is ......
Read more >
os.tmpDir() is deprecated - node and formidable
os.tmpDir() is deprecated - node and formidable · It's not really an error, it's a deprecation warning. You can ask the formidable maintainers...
Read more >
os-tmpdir - npm
This package has been deprecated. Author message: This is not needed anymore. `require('os').tmpdir()` in Node.js 4 and up is good.
Read more >
i am trying to install the big commences stencil project . but i ...
(node:19580) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. C:\Users\uday.repaka\AppData\Roaming\npm\node_modules\@ ...
Read more >
Can not install a module - General - Node-RED Forum
(node: 1916) [DEP0022] DeprecationWarning: os.tmpDir () is deprecated. Use os.tmpdir () instead. Precision: I'm on RPI3 and Debian 9 Stretch.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found