Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os.tmpDir() is deprecated #359

Open
deepakrokz opened this issue Feb 18, 2019 · 2 comments
Open

os.tmpDir() is deprecated #359

deepakrokz opened this issue Feb 18, 2019 · 2 comments

Comments

@deepakrokz
Copy link

(node:15336) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

Please update..

@ImWolfUK
Copy link

ImWolfUK commented Mar 8, 2019

.\node_modules\peerflix\node_modules\torrent-stream\index.js

Change line 36
var TMP = fs.existsSync('/tmp') ? '/tmp' : os.tmpDir()
to
var TMP = fs.existsSync('/tmp') ? '/tmp' : os.tmpdir()

@asheroto
Copy link

I also noticed that it won't build in Windows because it's looking for /tmp

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

No branches or pull requests

3 participants