node-gdrive-fuse icon indicating copy to clipboard operation
node-gdrive-fuse copied to clipboard

Ubuntu Server 15.10 "ReferenceError: logger is not defined"

Open jruels opened this issue 9 years ago • 3 comments

It looks like logger may not be defined correctly.
When running node client.es6.js I get the following

/node-gdrive-fuse/src/common.es6.js:28
  logger.info( "max cache size was not set. you should exit and manually set it");
  ^

ReferenceError: logger is not defined
    at Object.<anonymous> (/node-gdrive-fuse/src/common.es6.js:28:3)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/node-gdrive-fuse/src/folder.es6.js:8:14)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)

I could just set the max cache size, but that's just a symptom and not the root cause.

I'm running nvm with node 5.0, but I've tested with node 4.2.2 as well

root@c2d9ab0175c9:/node-gdrive-fuse/src# node --version
v5.0.0

Please let me know if I'm missing something, or if I can help by providing more info.

Thanks, -js

jruels avatar Nov 20 '15 00:11 jruels

The temporary fix is to set the "maxCache" option in your config file. I have fixed it, but I haven't merged it in to master yet.

EricTheMagician avatar Nov 20 '15 00:11 EricTheMagician

Great thanks. I look forward to the patch.

jruels avatar Nov 20 '15 00:11 jruels

I'm still getting this error on Ubuntu 16.04. Has this patch been merged to master?

natoriousbigg avatar Jan 26 '17 00:01 natoriousbigg