Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

TypeError: os.tmpDir is not a function #329

Open
Govinda04 opened this issue Nov 21, 2020 · 0 comments
Open

TypeError: os.tmpDir is not a function #329

Govinda04 opened this issue Nov 21, 2020 · 0 comments

Comments

@Govinda04
Copy link

Govinda04 commented Nov 21, 2020

D:\govinda\Cordova\myapp>taco run android --livereload

C:\Users\admin\AppData\Roaming\npm\node_modules\taco-cli\node_modules\applicationinsights\Library\Sender.js:139
var direcotry = path.join(os.tmpDir(), Sender.TEMPDIR);
^

TypeError: os.tmpDir is not a function
at Sender._storeToDiskSync (C:\Users\admin\AppData\Roaming\npm\node_modules\taco-cli\node_modules\applicationinsights\Library\Sender.js:139:38)
at Sender.saveOnCrash (C:\Users\admin\AppData\Roaming\npm\node_modules\taco-cli\node_modules\applicationinsights\Library\Sender.js:100:14)
at Channel.triggerSend (C:\Users\admin\AppData\Roaming\npm\node_modules\taco-cli\node_modules\applicationinsights\Library\Channel.js:76:30)
at Channel.handleCrash (C:\Users\admin\AppData\Roaming\npm\node_modules\taco-cli\node_modules\applicationinsights\Library\Channel.js:57:22)
at process._exceptionListenerHandle (C:\Users\admin\AppData\Roaming\npm\node_modules\taco-cli\node_modules\applicationinsights\AutoCollection\Exceptions.js:24:43)
at process.emit (events.js:326:22)
at process.EventEmitter.emit (domain.js:486:12)
at process._fatalException (internal/process/execution.js:163:25)

As i run command taco run android is shows err os.tmpDir() is not function ,
i think because its deprecated and changed to os.tmpdir()

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

No branches or pull requests

1 participant