-
Notifications
You must be signed in to change notification settings - Fork 203
bad sqlite3 version pinned in package.json #82
Comments
There’s no reason it should be pinned…not sure why it is. I’m happy to
accept a PR if you’d like credit for the fix.
|
Oh, I don't care about credit! It would probably be much faster for you to do it. |
The main problem seems to be that you ship postleaf with an old But further down the set up I get an error, because the semantic version of And finally, there are some minor errors during All this versioning needs some refactoring, which I can't help you with - for lack of competence in npm ecosystem, lack of big picture and lack of time. Always happy to report you practical feedback from running your sofrware. Thank you! |
The npm will create a package-json.lock after each npm i. Postleaf is tested with node 7 you're using node 9.9.0, so it's possible that you run into some failures... |
My bad, I overlooked that node.js version is pinned in the install instructions. For now this issue is moot, and can be probably got back to when Postleaf supports current node releases. |
Yeah, the I'm not sure why your build is failing. My dev and prod systems both had SQLite installed already. If yours didn't, that may be why. It could also be just an issue with the latest version of Node. I'd like to bump the Node version to the most recent LTS, but I haven't had time to test things out and run an update. |
I made a gist of how I managed to build and run Postleaf on my machine: https://gist.github.com/kfo1182/2b2c372b7ecb61dd4ba5b71862bab090 It's ok that Postleaf runs on specific generation of node, as far as it's mentioned in the README, but this very release is not the best idea, since As a side note, you can kind of pin |
Now the LTS nodejs version is 10.13.0. And Postleaf could not be installed with Node.js 10.13.0. Because the dependency of SQLite issue. |
Summary
Postleaf requires sqlite3 node module, and it is pinned to version 3.1.8 - which is not available in binary, so it tries to build it - and fails, because of node_modules versions incompatibility. It would be nice to pin the sqlite3 version more loosely, e.g. with ^ operator, so that it could download i.e. [email protected] which downloads as a binary and is of the same semantic version.
Steps to Reproduce
cd
there.npm install
Additional info
Note: This issue tracker is ONLY for bug reports and feature requests. If this is a personal support issue, please visit postleaf.org/support.
The text was updated successfully, but these errors were encountered: