I’m using a custom database connection and have recently upgraded the tenant’s node env to version 8. The create script is throwing error and unable to find module bcrypt. Looks like the tenant is failing to rebuild and deploy the changes after the changes have been submitted. What’s can be done to resolve the issue?
As mentioned at (https://auth0.com/docs/migrations/guides/extensibility-node8#affected-modules) some module versions that were available in Node 4 are no longer available in Node 8 (due to incompatibility reasons). This is the case for that version of bcrypt so the recommendation here would be to ensure that your custom scripts do not explicitly require versions that are no longer available.
In addition, you may also want to consider updating bcrypt to use a much more recent version; according to this you could use
3.0.0 version, but you should check bcrypt documentation for breaking changes.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.