Closed KrishT0 closed 10 months ago
I was trying to use Nanoid in my application to generate a short ID. const { nanoid } = require("nanoid"); used this but while running the app, it shows an error.
const { nanoid } = require("nanoid");
Error : can anyone tell me what's wrong here?
I was trying to use Nanoid in my application to generate a short ID.
const { nanoid } = require("nanoid");
used this but while running the app, it shows an error.Error :
can anyone tell me what's wrong here?