Hello!
We’ve made great progress implementing GSN on our application since our previous issues (1: RDC Script for Relay, 2: Issue getting valid relay provider).
Here is our current build: https://github.com/MUBlockchain/gatsby-torus-direct-v3/tree/gsn. We are running into an issue we have been unable to solve after a good deal of effort. If it is of any consequence to our current issue, before reaching the hard block, when we run npm i
, we get the following snippet in our terminal output:
> @opengsn/gsn@2.1.0 postinstall /home/****/gatsby-torus-direct-v3/node_modules/@opengsn/gsn
> patch-package
patch-package 6.2.2
Applying patches...
No patch files found
Our main issue is when running npx gatsby build
(same as npx run build
in create-react-app). The following snippet begins with the last normal line of build output and then our error:
success Building production JavaScript and CSS bundles - 147.959s
success Rewriting compilation hashes - 0.004s
error undefined failed
Can't resolve './build/Release/scrypt' in '/home/****/gatsby-torus-direct-v3/node_modules/scrypt'
If you're trying to use a package make sure that './build/Release/scrypt' is installed. If you're trying to use a local file make sure that the path is correct.
not finished Building static HTML for pages - 15.785s
error
Here is a list of relevant threads we have crawled for solutions with no luck- most of the more recent posts have no responses: