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

TypeError: os.tmpDir is not a function #329

@Govinda04

Description

@Govinda04

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions