rustwasm / create-wasm-app

npm init template for consuming rustwasm pkgs
https://www.npmjs.com/package/create-wasm-app
Apache License 2.0
503 stars 95 forks source link

Minimum Node version #145

Open carrascomj opened 4 years ago

carrascomj commented 4 years ago

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.

araujo-luis commented 1 year ago

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