You might have seen the error because of this
const uuidv1 = require('uuid/v1');
try to replace it with this one
const { v1: uuidv1 } = require('uuid');
You might have seen the error because of this
const uuidv1 = require('uuid/v1');
try to replace it with this one
const { v1: uuidv1 } = require('uuid');