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
The current code here in the docs has given a bug for me: import PassportReader from "@gitcoinco/passport-sdk-reader"
However, if you do this it works: import { PassportReader } from "@gitcoinco/passport-sdk-reader"
Also getting this bug here with the passport scorer & verifier:
Module parse failed: magic header not detected File was processed with these loaders: * ../../node_modules/file-loader/dist/cjs.js You may need an additional loader to handle the result of these loaders. Error: magic header not detected
The text was updated successfully, but these errors were encountered:
First point seems totally valid, but needed to update my webpack config to load WASM modules for your second point. I used create-react-app initially, so I used craco to override the webpack config. Here's my craco config file, the webpack section is the relevant section.
The current code here in the docs has given a bug for me:
import PassportReader from "@gitcoinco/passport-sdk-reader"
However, if you do this it works:
import { PassportReader } from "@gitcoinco/passport-sdk-reader"
Also getting this bug here with the passport scorer & verifier:
Module parse failed: magic header not detected
File was processed with these loaders:
* ../../node_modules/file-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
Error: magic header not detected
The text was updated successfully, but these errors were encountered: