Node-WebDollar
Node-WebDollar copied to clipboard
argon2-browser Unexpected Character in wasm
Hi, I haven't been able to get anything related to the browser building to work like:
npm run build_browser
I keep getting this error related to argon2
ERROR in ./node_modules/argon2-browser/dist/argon2.wasm 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/argon2-browser/lib/argon2.js 82:35-65 @ ./src/common/crypto/Argon2/Argon2.js @ ./src/tests/crypto/Argon2.test.js @ ./src/tests/main.test.js
I am on Centos7, all of my development tools are up to date. I tried redownloading the package and even trying different versions and I get the same thing. Wasn't able to build argon2 from the source because for some reason my environmental variables CMAKE_MAKE_PROGRAM , CMAKE_C_COMPILER , CMAKE_CXX_COMPILER aren't set for some reason.
Thanks!
it looks like a webpack error. npm run build browser is used only for building bundles for vue-frontend
Yeah, I have my pool running and was interested in setting up a website for the pool. Didn't really see any documentation/guides or anything on how to do that, so I figured building the frontend stuff would be a good place to start.