Closed shaoshaocheng closed 10 years ago
It looks like you've done a npm install --global omega
, but omega is expecting the db directory to be writable.
--global
installIf you instead clone the project, npm install && npm start
will get it running.
This worked perfectly, thanks!
hello,
When I create a new project, the server shuts down with this message:
Created new project { name: 'LPS', createdDate: Tue Dec 24 2013 01:04:06 GMT+0000 (UTC), slug: 'lps', url: '/project/lps', closed: false, deleted: false, unlisted: false } wrote projects 24.43.52.122 - - [Tue, 24 Dec 2013 01:04:06 GMT] "POST /project HTTP/1.1" 200 22 "http://[serverinfo]:1337/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36" Couldn't write projects file.
/usr/lib/node_modules/omega/server/lib/projectDao.js:50 throw err; ^ Error: ENOENT, open '/usr/lib/node_modules/omega/db/projects.json'