Open Nidroide opened 9 months ago
Hi! I hope you guys are doing great!
I'm facing this same issue but I don't understand where to insert the solution. I put the overwrite in my project package.json but nothing happend.
Any help is appreciated.
Just add ".default" to the index.js file ..
this is the original code
const rsdb = require("rocket-store");
const session = require('express-session');
const util = require('util');
and this is the code to support the current version (as of now rocket-store@0.10.19)
const rsdb = require("rocket-store").default;
const session = require('express-session');
const util = require('util');
Is this resolved? Please either merge a pull request or close.
Pull request has already been created
Hi Simon,
express-session-rsdb has a dependency constraint of >0.10.4 for rocket-store. It works fine up to version 0.10.8. However, when using version 0.10.12, I encounter the following error:
For versions 0.10.14 and above, I encounter a different issue:
This is likely due to changes in the way rocket-store exports its functions and should be fixed, as alternative dependency should be fixed to 0.10.8.
For a quick temporary fix:
in consumer project package.json.
Regards