Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

Commit c25dba7

Browse files
authored
hello world: reinstall deps before npm run install
Without this pass, the subsequent npm run start would fail with: ``` ERROR in ./index.js Module not found: Error: Can't resolve 'wasm-game-of-life' in '<basedir>/wasm-game-of-life/www' @ ./index.js 1:0-42 3:0-10 @ ./bootstrap.js ```
1 parent d40367c commit c25dba7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/game-of-life/hello-world.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,11 @@ import * as wasm from "wasm-game-of-life";
319319
wasm.greet();
320320
```
321321

322+
Since we declared a new dependency, we need to install it:
323+
```text
324+
npm install
325+
```
326+
322327
Our Web page is now ready to be served locally!
323328

324329
## Serving Locally

0 commit comments

Comments
 (0)