ronomon / crypto-async

Fast, reliable cipher, hash and hmac methods executed in Node's threadpool for multi-core throughput.
MIT License
174 stars 15 forks source link

Module parse failed: Unexpected character '�' (1:0) #12

Open andremw opened 4 years ago

andremw commented 4 years ago

I'm trying to use the lib but I get this error:

ERROR in ./node_modules/@ronomon/crypto-async/binding.node 1:0
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
 @ ./node_modules/@ronomon/crypto-async/index.js 3:16-41
 @ ./src/utils/EncryptionUtils.js
 @ ./src/actions/InitActions.js
 @ ./src/routes.js
 @ ./src/app.js
 @ ./src/client.js
 @ multi webpack-dev-server/client?http://0.0.0.0:3001 webpack/hot/only-dev-server ./src/client.js

Node version: 10.21.0 OS: Mac OS Catalina (10.15.5)