Comments (11)
Does this fail when you try running gulp build
or is it npm install
?
from postleaf.
You're using node 4.2.6 (info using [email protected]
), but Postleaf needs node 7
from postleaf.
@lukewatts both, if you check the log, errors are generated in both phases.
@karsasmus I updated and the npm install
2017-04-26T09_06_25_854Z-debug.log.zip
still fails, attached the new log
from postleaf.
Personally I had to install gulp, node-gyp and node-pre-gyp globally.
Then I had to rebuild the following packages (e.g. node rebuild node-sass
):
- node-sass
- optipng-bin
- jpegtran-bin
- sequelize
- sqlite3
Then run gulp build
from postleaf.
Try to open your package.json
, goto line 10 and change install
to postinstall
from postleaf.
@lukewatts
@karsasmus
Hi and thank you for the replies.
I did what you both recommended.. and the install worked (npm and gulp).
But the app crashes with the following message :
Error: Postleaf failed to start! 🐛
SequelizeUniqueConstraintError: Validation error
from postleaf.
I'm also stuck at this point. I've created a separate issue here:
from postleaf.
Saw it..
I will also see if I can figure it out.
Any thoughts @claviska ?
from postleaf.
Isn't install
and postinstall
the same thing? From the npm docs:
I couldn't find anything that says they're different, and install
works for me so I'm not entirely sure. 🤷♂️
As mentioned in #22, I just released 1.0.0-alpha.2 which fixes the database issue (see #9).
If you were installing 1.0.0-alpha.1 instead of master, try alpha.2 and it should work. If you were using master, then I'm not sure why it didn't work short of a permissions issue.
Let me know if it works with alpha.2.
from postleaf.
@claviska Thanks for the answer.. I will try out alpha2 and see
will keep you posted
from postleaf.
Hooray! Working and it's beautiful :)
@lukewatts, @karsasmus @claviska thank you <3
I updated to alpha2 and added (+x to the permission, didn't change the user).
from postleaf.
Related Issues (20)
- Unable to upload the images from admin panel HOT 3
- maxWidth for dynamic images // feature request HOT 1
- Security: brute force attack HOT 5
- getPosts Helper: sortBy not working HOT 8
- Some helpers do not support {:else} as documented HOT 4
- Postleaf could not be installed with Node.js 10.13.0 HOT 2
- NPM reports hundreds of vulnerabilities HOT 5
- Passing data to templates HOT 4
- Meta russian language HOT 4
- NPM install fails on sqlite3/microtime/node-gyp on ubuntu 64 bit on Raspberry Pi (arm)
- Application Error when navigating to Admin/Settings for New Install HOT 3
- MongoDB support HOT 1
- React for the dashboard HOT 1
- Install to a subfolder HOT 1
- Still in active development? HOT 1
- When editing an existing post, errors in the slug do not appear but you get "can not save the changes now" HOT 1
- HTML code block HOT 1
- Multi-Language HOT 1
- image upload err not processing images HOT 3
- Add Portuguese (Brazil) translation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postleaf.