Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
fbwork edited this page May 2, 2016 · 1 revision

Hello,

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

What's wrong?

Regards

Clone this wiki locally