GithubHelp home page GithubHelp logo

Comments (11)

lukewatts avatar lukewatts commented on May 5, 2024

Does this fail when you try running gulp build or is it npm install?

from postleaf.

karsasmus avatar karsasmus commented on May 5, 2024

You're using node 4.2.6 (info using [email protected]), but Postleaf needs node 7

from postleaf.

venatoria avatar venatoria commented on May 5, 2024

@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.

lukewatts avatar lukewatts commented on May 5, 2024

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.

karsasmus avatar karsasmus commented on May 5, 2024

Try to open your package.json, goto line 10 and change install to postinstall

from postleaf.

venatoria avatar venatoria commented on May 5, 2024

@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.

lukewatts avatar lukewatts commented on May 5, 2024

I'm also stuck at this point. I've created a separate issue here:

#22

from postleaf.

venatoria avatar venatoria commented on May 5, 2024

Saw it..
I will also see if I can figure it out.
Any thoughts @claviska ?

from postleaf.

claviska avatar claviska commented on May 5, 2024

Isn't install and postinstall the same thing? From the npm docs:

screen shot 2017-04-26 at 9 07 46 am

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.

venatoria avatar venatoria commented on May 5, 2024

@claviska Thanks for the answer.. I will try out alpha2 and see
will keep you posted

from postleaf.

venatoria avatar venatoria commented on May 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.