Open crcdng opened 1 year ago
I am also experiencing this issue (linux). Limited research makes me think it could be openssl related.
OpenSSL Version: 3.0.8 Rust Version: 1.67.1 npm version: 8.19.2 node version: 19.7.0
Any help is appreciated
This was mentioned previously in #279 and #273. Some ways to work around it are to either:
NODE_OPTIONS=--openssl-legacy-provider
to your scripts.start
in package.json
www/package.json
and www/webpack.config.js
with the versions from from rustwasm/create-wasm-app#207 FWIW I think the "right" way to fix it is solution 3. Could someone from @rustwasm approve that PR please?
This was mentioned previously in #279 and #273. Some ways to work around it are to either:
1. add `NODE_OPTIONS=--openssl-legacy-provider` to your `scripts.start` in `package.json` 2. downgrade to node v16 (using a tool like [nvm](https://github.com/nvm-sh/nvm)) 3. patch your `www/package.json` and `www/webpack.config.js` with the versions from from [Updated webpack dependencies and allowed web assembly in webpack export create-wasm-app#207](https://github.com/rustwasm/create-wasm-app/pull/207)
FWIW I think the "right" way to fix it is solution 3. Could someone from @rustwasm approve that PR please?
Thank you! This workaround worked for me 👍
Describe the bug
"Serving Locally" fails with this error
To Reproduce
Follow the steps in the book up to 4.2 "Serving Locally" on page https://rustwasm.github.io/docs/book/game-of-life/hello-world.html
Expected behavior The local dev server should start and serve the page.