Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

argon2-browser Unexpected Character in wasm #362

Closed
TreeOfSelf opened this issue Mar 16, 2022 · 2 comments
Closed

argon2-browser Unexpected Character in wasm #362

TreeOfSelf opened this issue Mar 16, 2022 · 2 comments

Comments

@TreeOfSelf
Copy link

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!

@ibudisteanu
Copy link
Member

it looks like a webpack error. npm run build browser is used only for building bundles for vue-frontend

@TreeOfSelf
Copy link
Author

TreeOfSelf commented Mar 16, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants