EricTheMagician / node-gdrive-fuse

This is a simple filesystem written in NodeJS to mount Google Drive as a local drive.
73 stars 21 forks source link

TypeError: Cannot call method 'getAttrSync' of undefined when browsing mount #38

Closed ecchi closed 9 years ago

ecchi commented 9 years ago

Grabbed e7933a627b deleted node_modules, re-did npm install. Deleted cache. Initial coffee fs.coffee browsing was fine. Opened a media file, and it worked for a few seconds, then it went to: TypeError: Cannot read property 'id' of undefined (See #37 )

All subsequent attempts to re-mount with coffee fs.coffee presents when trying to browse the mount:

/Users/ecchi/Code/node-gdrive-fuse/src/fs.coffee:136
            attr = cnode.getAttrSync();
                         ^
TypeError: Cannot call method 'getAttrSync' of undefined
  at GDriveFS.readdir (/Users/ecchi/Code/node-gdrive-fuse/src/fs.coffee:128:24)