Mongoose incompatibility with mongoose-currency latest versions ( deployment issue only )

Does anyone know how to resolve mongoose variables’ incompatibility? I can not deploy to hosting server-side code, why do these versions have a conflict ? “mongoose”: “^7.0.3” “mongoose-currency”: “^0.2.0”. After command fly deploy --local-only I can not proceed further and in the monitoring window I see nothing. I tried to reinstall node modules but it did not help. I can not downgrade the Mongoose version because I have to rewrite the index.js file. I hope anybody had the same issue already. Using the --force or --legacy-peer-deps flag when running the npm install command does not do the job either.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.