Closed venatoria closed 7 years ago
Does this fail when you try running gulp build
or is it npm install
?
You're using node 4.2.6 (info using node@v4.2.6
), but Postleaf needs node 7
@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
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
):
Then run gulp build
Try to open your package.json
, goto line 10 and change install
to postinstall
@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
I'm also stuck at this point. I've created a separate issue here:
Saw it.. I will also see if I can figure it out. Any thoughts @claviska ?
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.
@claviska Thanks for the answer.. I will try out alpha2 and see will keep you posted
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).
Summary
NPM faills. Attached npm errors log npm-debug.log.zip
Additional info
Note: This issue tracker is ONLY for bug reports and feature requests. If this is a personal support issue, please ask on the forum instead: community.postleaf.org