You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ textract -h
fs.js:647
return binding.mkdir(pathModule._makeLong(path),
^
Error: EACCES, permission denied '/usr/local/lib/node_modules/textract/lib/extractors/temp'
at Object.fs.mkdirSync (fs.js:647:18)
at Object.<anonymous> (/usr/local/lib/node_modules/textract/lib/extractors/images.js:83:8)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at module.exports (/usr/local/lib/node_modules/textract/lib/extract.js:85:10)
at Array.map (native)
This happens on OSX because the module was installed as root but invoked as a normal user. On linux and osx the temp folder should probably be a proper temporary directory in a location like /tmp
The text was updated successfully, but these errors were encountered:
I installed textract:
Every invocation of textract seems to fail:
This happens on OSX because the module was installed as root but invoked as a normal user. On linux and osx the temp folder should probably be a proper temporary directory in a location like /tmp
The text was updated successfully, but these errors were encountered: