-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
I have a couple of projects implementing the Loopring SDK. Today I started seeing some new errors upon attempting to build/deploy new releases for both of my projects implementing the SDK. Any insights to resolve would be greatly appreciated!
(base) ❯ Loopring-token-gate-react-example (main) ✘ yarn build
yarn run v1.22.15
$ react-app-rewired build
Creating an optimized production build...
Failed to compile.
Module not found: Error: Can't resolve 'crypto-js/sha256' in '/Users/willsmillie/Git/Loopring-token-gate-react-example/node_modules/@loopring-web/loopring-sdk/dist'
Did you mean 'sha256.js'?
BREAKING CHANGE: The request 'crypto-js/sha256' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
error Command failed with exit code 1.
For some additional context: I'm using react-app-rewired, and webpack.
The project can be found here: https://github.com/willsmillie/Loopring-token-gate-react-example
Metadata
Metadata
Assignees
Labels
No labels