-
Notifications
You must be signed in to change notification settings - Fork 2
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
doc: how to compile wasm-dpp with debug logs #8
Comments
Fixing Corrupt CorepackIf you run the wrong rm -rf ~/.local/opt/node*
rm -rf ~/platform/
rm -rf ~/.cache/node*
rm -rf ~/.npm/
rm -rf ~/.yarn/
rm ~/.pnp.cjs Errors (fixed, see above)When
When corepack is corrupt.
Rust toolsWhen the Rust tools aren't installed.
My Discovery ProcessHow I found out where node, yarn, corepack, pnp, and other files were hiding: # install lsd
curl https://webi.sh/lsd | sh
# check
lsd --tree -A -I node_modules -I .vim -I 'node-*' -I '.rustup' -I 'generated_completions' -I Downloads -I Documents -I Desktop I kept adding more and more Wasm schema errorsIn this case the solution is: cargo install -f wasm-bindgen-cli --version 0.2.99
yarn build I don't know which version should be chosen, but I'm GUESSING:
|
Requirements
Process
(the build-essential meta package is probably overkill, but I didn't want to deal with each)
wasm-dpp
./platform/packages/dapi-grpc/protos/platform/v0/platform.proto
Versions
The text was updated successfully, but these errors were encountered: