fpPromise.then is not a function #744
Unanswered
jiangxiaoqiang
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @jiangxiaoqiang , ...
// Initialize an agent at application startup.
const fpPromise = require('@fingerprintjs/fingerprintjs').load();
// Get the visitor identifier when you need it.
fpPromise
.then((fp) => fp.get())
.then(async (result) => {
// This is the visitor identifier:
const deviceId = console.log(result.visitorId);
});
... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
did someone facing the
fpPromise.then is not a function
error?https://stackoverflow.com/questions/71181994/typeerror-fppromise-then-is-not-a-function
Beta Was this translation helpful? Give feedback.
All reactions