Open carrascomj opened 4 years ago
Going through the rustwasm book's Hello world, I was unable to generate the www directory with the suggested command:
www
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 .
package.json
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?
v8.10.0
OS: Ubuntu 18.04.4.
It doesn't work with Node 18, so I tried 16 and it works. https://github.com/rustwasm/create-wasm-app/pull/210
Summary
Going through the rustwasm book's Hello world, I was unable to generate the
www
directory with the suggested command:This command generates a
package.json
file but not thewww
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.