DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
See original GitHub issueExpected behaviour
No deprecation warnings show up.
Actual behaviour
DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
Is printed on any karma run.
Environment Details
- Karma version: 1.3.0
Steps to reproduce the behaviour
- Run
karma start
(no config needed)
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
“It’s not really an error, it’s a deprecation warning. You can fix it like, you could just put something like the following at the top of your file: var os = require(‘os’); os.tmpDir = os.tmpdir;”
I have checked on macOs
node@7.3.0 karma@1.3.0 karma-chrome-launcher@2.0.0 karma-jasmine@1.1.0
All work whithout warnings