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
{{ message }}
This repository was archived by the owner on Nov 29, 2022. It is now read-only.
I'm not familiar with nodejs, could you please guide me on how to use gridfs-http-frontend. I installed nodejs on ubuntu 12.04 LTS, after installing i downloaded gridfs-http-frontend.zip and extracted it. From the bin directory of the extracted file, i executed "./gridfs" and then th following error appeared:
/usr/bin/env: gridfs-http-frontend-wrapper
What shall i do?
After i copied gridfs-http-frontend-wrapper into the /usr/bin/env and run "./gridfs" i got the following error:
node-gridfs-http-frontend-master/bin/gridfs-http-frontend-wrapper:6
$(which nodejs node)
^^^^^^
SyntaxError: Unexpected identifier
at Module._compile (module.js:439:25)
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 Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:935:3