I'm opening this issue in order to:
- share my experience how I've managed to get superlogin working with current nodejs
- make a place for other people's experience to share how superlogin can be used with an up-to-date runtime/dependencies
This is my configuration for running superlogin on node 13.7.0:
- I'm using the fork @sensu/superlogin as dependency in my project
- for using a current version of
couchdb -> leveldown dependency in package.json I'm using:
"resolutions": {
"@sensu/superlogin/**/leveldown": "5.4.1"
}
(original version of leveldown-dependency failed on npm install)
- install the project with yarn package manager in order to respect the
resolutions section in package.json
- I'm using this start script in for starting superlogin
Notes:
I've tried to raise the version for pouchdb dependency to 7.1.1, but it did not work due to missing db.request method in this line. It's an undocumented method which seemingly got removed with major version 7. According to this pouchdb issue it should be possible to replace it with package pouchdb-ajax somehow.
So far my information status. Anyone who is running an more up-to-date version of superlogin - please describe how.
I'm opening this issue in order to:
This is my configuration for running superlogin on node 13.7.0:
couchdb -> leveldowndependency inpackage.jsonI'm using:npm install)resolutionssection inpackage.jsonNotes:
I've tried to raise the version for pouchdb dependency to
7.1.1, but it did not work due to missingdb.requestmethod in this line. It's an undocumented method which seemingly got removed with major version 7. According to this pouchdb issue it should be possible to replace it with packagepouchdb-ajaxsomehow.So far my information status. Anyone who is running an more up-to-date version of superlogin - please describe how.