create-wasm-app icon indicating copy to clipboard operation
create-wasm-app copied to clipboard

Minimum Node version

Open carrascomj opened this issue 5 years ago • 1 comments

Summary

Going through the rustwasm book's Hello world, I was unable to generate the www directory with the suggested command:

npm init wasm-app www

This command generates a package.json file but not the www directory, as in https://github.com/rustwasm/book/issues/174 .

Upgrading to Node 12 seemed to solve the issue. My question is if this behavior is expected for the node version I was using (v8.10.0) and, if so, what is the minimum version that produces the desired directory as in the the rustwasm book?

Additional Details

OS: Ubuntu 18.04.4.

carrascomj avatar Apr 29 '20 13:04 carrascomj

It doesn't work with Node 18, so I tried 16 and it works. https://github.com/rustwasm/create-wasm-app/pull/210

araujo-luis avatar Apr 28 '23 13:04 araujo-luis