Closed lukewatts closed 7 years ago
Are you using the code from 1.0.0-alpha.1 or master?
I just released 1.0.0-alpha.2 so I'd recommend using that instead. It has a number of bug fixes, including #9 which should resolve the issue you're having.
If not, comment here and I'll reopen. But I'm pretty sure that will fix it. 😎
I'm still getting that error. Which branch are you developing on and which is the stable? The tagged version 1.0.0-alpha.2 still gives me this error.
Dev is on master. If you create the data
directory manually, does that resolve it? If so, it's likely a permissions issue. Try checking the owner and permissions.
Going to try a daring livestream of the DigitalOcean tutorial in a sec: https://www.twitch.tv/claviska
So I did a chown -R $USER:www-data .
AFTER I ran npm install
and gulp build
and that fixed that error.
Were you logged in as root or as the non-root user? Not sure why that would happen if you ran npm install && gulp build
as non-root.
I'm not sure either...but setting the permissions just before node app.js
sorted it.
@lukewatts I will test myself and see if that solves it. Akmost sure it's a permission issue indeed
Resolved with 48eb7c4.
Summary
I've followed the article here for Ubuntu:16.04
https://www.postleaf.org/installing-postleaf-on-digitalocean?v=1
But when I run
node app.js
I get the following error:Not sure where to go from here. Any suggestions what this error means?
Steps to Reproduce
sudo npm install -g npm-gyp npm-pre-gyp sqlite3 sequelize gulp
)npm install
gulp build
node app.js
Additional info