I am new to Deployd, and am trying to open the dashboard. I started by creating a basic hello-world
project folder:
$ cd hello-world
...then ran the following to view the dashboard:
$ dpd-d
However, I am getting the following error:
vaibhav@vaibhav:/hello-world$ dpd -d
starting deployd v0.8.4...
Failed to start MongoDB (Make sure 'mongod' are in your $PATH or use dpd --mongod option. Ref: http://docs.deployd.com/docs/basics/cli.html)
bye
fs.js:432
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES, permission denied './.dpd/pids/mongod'
at Object.fs.openSync (fs.js:432:18)
at Object.fs.writeFileSync (fs.js:971:15)
at process.kill (/usr/local/lib/node_modules/deployd/lib/util/mongod.js:52:8)
at process.EventEmitter.emit (events.js:95:17)
at process.exit (node.js:707:17)
at fn (/usr/local/lib/node_modules/deployd/bin/dpd:261:5)
at stop (/usr/local/lib/node_modules/deployd/bin/dpd:270:5)
at startup (/usr/local/lib/node_modules/deployd/bin/dpd:162:16)
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/deployd/lib/util/mongod.js:62:5)
at ChildProcess.EventEmitter.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:795:12)
`
What am I doing wrong?