second-state / wasm-learning

Building Rust functions for Node.js to take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Demo code and recipes.
https://www.secondstate.io/articles/getting-started-with-rust-function/
485 stars 102 forks source link

Issue while building the wasm bytecode #5

Open SohanTirpude opened 4 years ago

SohanTirpude commented 4 years ago

Hello world,

I am trying to run The k-means clustering example for machine learning example, but while building the wasm bytecode, I am getting following error error Any idea on how to solve this?

juntao commented 4 years ago

The deps directory is one level above Kmeans, and hence not accessible to Docker in your setup. Try to mount /nodejs as Docker /app. Thanks.

SohanTirpude commented 4 years ago

@juntao thanks your solution worked.

Are these instructions available in any documents available in this repo which I have missed?