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.

Uncaught TypeError: filesys.existsSync is not a function

See original GitHub issue

Using the aws-iot-sdk-browser-bundle.js (browsery of node.js aws-iot-device-sdk module);

var awsIot = require('aws-iot-device-sdk');

var device = awsIot.device({
    endpoint: 'https://******************.iot.eu-central-1.amazonaws.com',
    keyPath: '../aws/************-private.pem.key',
    certPath: '../aws/***********-certificate.pem.crt',
            caPath: '../aws/***********-public.pem.key',
    clientId: "******************",
            region: "******" 
});

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19

github_iconTop GitHub Comments

3reactions
samarahmadcommented, Nov 14, 2018

i am also getting same problem how can i solve this issue pls tell me

1reaction
juppdescommented, Apr 15, 2018

Anybody has solved this question ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught TypeError: filesys.existsSync is not a function
When trying to initialize IOT device using AWS IoT SDK for JavaScript, its giving error. TypeError: filesys.
Read more >
TypeError: fs.existsSync is not a function - DEV Community ‍ ‍
While using Sass in a react project and using useRef hook, one might come across this error: React and Sass error.
Read more >
Node.js fs.existsSync() Method - GeeksforGeeks
The fs.existsSync() method is used to synchronously check if a file already exists in the given path or not. It returns a boolean...
Read more >
Trying To Import Results In Fs.Existssync Is Not A Function
when I update the plugin from 1.4.6 to 2.0 there was an error when I ran the project: fs.existsSync is not a function.How...
Read more >
TypeError: fs.existsSync is not a function - Okta Support
Hello, I'm following the instructions from this link (https://developer.okta.com/okta-sdk-nodejs/jsdocs/*search-for-users) using the code ...
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