You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello.
Currently, I want to use Fingerprintjs in Next.JS, but the problem situation is exposed when using the code line presented after setting the subdomain.
It's a problem because I can't find the module, but it's hard to figure out if this is caused by a web pack or other settings.
First, the module will be imported from the node_nodules folder in the form of '@fingerprintjs-pro-react\dist\fp-pro-react.esm.js#fingerprintJSPro #defaultEndpoint', where '#fingerprintJSPro #defaultEndpoint' will follow as a suffix.
I called the supplier 'use client' and tried it because I was wondering if it would be a problem when it was called from the server component, but the same phenomenon occurred.
If you remove the 'endpoint' and 'scriptUrlPattern' properties in FpjsProvider, the script runs normally.
I tested both dev and prod environments and the same problem is occurring.
Can I get help on how I can solve the problem?
Error: Could not find the module "C:\my-project\node_modules@fingerprintjs\fingerprintjs-pro-react\dist\fp-pro-react.esm.js#FingerprintJSPro#defaultEndpoint" in the React Client Manifest. This is probably a bug in the React Server Components bundler.
The text was updated successfully, but these errors were encountered:
Hello @choiyeongung,
I checked your code (and actually tested it in my NextJS app router component) and it looks to me your code is correct and you are setting the fallbacks correctly. It works on my end (both dev and build).
I really think it might be related to your webpack settings.
[Usage environment]
Hello.
Currently, I want to use Fingerprintjs in Next.JS, but the problem situation is exposed when using the code line presented after setting the subdomain.
It's a problem because I can't find the module, but it's hard to figure out if this is caused by a web pack or other settings.
First, the module will be imported from the node_nodules folder in the form of '@fingerprintjs-pro-react\dist\fp-pro-react.esm.js#fingerprintJSPro #defaultEndpoint', where '#fingerprintJSPro #defaultEndpoint' will follow as a suffix.
I called the supplier 'use client' and tried it because I was wondering if it would be a problem when it was called from the server component, but the same phenomenon occurred.
If you remove the 'endpoint' and 'scriptUrlPattern' properties in FpjsProvider, the script runs normally.
I tested both dev and prod environments and the same problem is occurring.
Can I get help on how I can solve the problem?
Below is the error I received.
Error: Could not find the module "C:\my-project\node_modules@fingerprintjs\fingerprintjs-pro-react\dist\fp-pro-react.esm.js#FingerprintJSPro#defaultEndpoint" in the React Client Manifest. This is probably a bug in the React Server Components bundler.
The text was updated successfully, but these errors were encountered: