When using create-react-app v5 with Dynamic Wallets, you may see some warnings (although they appear like errors) when running or building your react application.
This has been reported as seen in this Github discussion.
Example Warning Message
WARNING in ./node_modules/json-rpc-engine/dist/mergeMiddleware.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'node_modules/json-rpc-engine/src/mergeMiddleware.ts'
file: Error: ENOENT: no such file or directory,
open 'node_modules/json-rpc-engine/src/mergeMiddleware.ts'These warnings can be safely ignored, and do not affect your application. However, if you wish to suppress the warnings and disable the source map loader altogether, you can set this environment variable:
Shell
export GENERATE_SOURCEMAP=false