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
I've been stuck here. I notice that the package.json for passport-sdk-writer has "dist/esm/src/index.js" as main, but I don't have that esm directory. I think that's the crux of the issue.
I wonder if this is all related, since it all seems to do with modules? If I hack that package.json and remove "esm" from the path, it actually seems to be working (or at least building and running, I haven't successfully written yet), but that seems very wrong haha.
Is it possible that something got left out of the NPM publish? Or do the devs for this have something set up in their environment that makes this work? Or am I just missing something?
Thank you!
The text was updated successfully, but these errors were encountered:
I'm able to work with Reader, Verifier, and Scorer just fine.
But, I cannot load the Writer module.
At first I got an error about mjs files, but I modified webpack to tell it how to load these (craco used in this example)
I think I did the right thing there.
But now I get the following error:/
![image](https://user-images.githubusercontent.com/19908762/189173652-453250bb-47be-405b-b8f6-9e310150b188.png)
I've been stuck here. I notice that the package.json for passport-sdk-writer has "dist/esm/src/index.js" as main, but I don't have that esm directory. I think that's the crux of the issue.
I wonder if this is all related, since it all seems to do with modules? If I hack that package.json and remove "esm" from the path, it actually seems to be working (or at least building and running, I haven't successfully written yet), but that seems very wrong haha.
Is it possible that something got left out of the NPM publish? Or do the devs for this have something set up in their environment that makes this work? Or am I just missing something?
Thank you!
The text was updated successfully, but these errors were encountered: