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.

Dependency of multiparty ~ 3.3.1 causes deprecation warning from os.tmpDir

See original GitHub issue

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

traced that to:

~/environment/gmailSeeder/node_modules $ grep -rnw . -e ‘os.tmpDir’
./node-gmail-api/node_modules/multiparty/README.md:88: Defaults to os.tmpDir(). ./node-gmail-api/node_modules/multiparty/index.js:55: self.uploadDir = options.uploadDir || os.tmpDir();

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
nathanbowsercommented, Nov 3, 2021

Just published v1.0.1

0reactions
gustawdaniel-acaisoftcommented, Nov 3, 2021

@nathanbowser this is important issue for me.

For other users with this problem current sollution is:

 npm install https://github.com/SpiderStrategies/node-gmail-api

then multiparty has proper version

cat package-lock.json| grep multiparty
    "node_modules/multiparty": {
      "resolved": "https://registry.npmjs.org/multiparty/-/multiparty-4.2.2.tgz",
    "node_modules/multiparty/node_modules/http-errors": {
    "node_modules/multiparty/node_modules/safe-buffer": {
    "node_modules/multiparty/node_modules/setprototypeof": {
        "multiparty": "^4.2.2",
    "multiparty": {
      "resolved": "https://registry.npmjs.org/multiparty/-/multiparty-4.2.2.tgz",
        "multiparty": "^4.2.2",
Read more comments on GitHub >

github_iconTop Results From Across the Web

SpiderStrategies - Bountysource
Will Twitter's deprecation of the Streaming API make this module defunct? $ 0 ... Dependency of multiparty ~ 3.3.1 causes deprecation warning from...
Read more >
os.tmpDir() is deprecated - node and formidable
After updating to the node version 7.2.0 I now get the following error when uploading files: (node:3376) DeprecationWarning: os.tmpDir() is deprecated. Use os....
Read more >
Open Source Used In Assist 3.1 - Cisco
This document contains licenses and notices for open source software used in this product. With respect to the free/open source software listed in...
Read more >
a691ad9fa78a3fb57790224be84... - Index of /pub - Fedora
Fedora RackTables-0.20.14.tar.gz RackTables-Fedora-paths.patch RackTables.spec quickinstall.sh 2.1.2.tar.gz RdRand.spec FED01-Soften-dependencies.patch ...
Read more >
Software Packages in "focal", Subsection web - Ubuntu
... OpenStack Telemetry (Ceilometer) Alarming - alarm evaluator ... libjs-jquery (3.3.1~dfsg-3): JavaScript library for dynamic web applications ...
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