We took the time to investigate the problem thanks to the code you shared.
The problem you face is due to a known issue where webpack and libsodium (one of our dependencies) don't play nice with each other.
A workaround is to modify the webpack config to have something like this:
webpackConfig.node={// libsodium uses fs for some reason, we don't ever want that in a browserfs:'empty',// libsodium never actually uses node's crypto in our casecrypto:'empty',};
Hopefully this will allow you to go through the rest of the tutorial -
in the mean time we'll update our documentation so that
future users don't get stuck because of the same issue.
Cheers!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Audrey, @dmerejkowsky here :)
Thank you for trying out Tanker !
We took the time to investigate the problem thanks to the code you shared.
The problem you face is due to a known issue where webpack and libsodium (one of our dependencies) don't play nice with each other.
A workaround is to modify the webpack config to have something like this:
Hopefully this will allow you to go through the rest of the tutorial -
in the mean time we'll update our documentation so that
future users don't get stuck because of the same issue.
Cheers!