Skip to content

Commit c91fca0

Browse files
committed
Use prebuilt js-sdk for node example
This example seems to have been broken by the switch to Typescript. We can't just symlink in `../..` because that gives us the typescript version of the source, which, obviously, doesn't work in node. Instead, make sure we use a prebuilt version of the js-sdk. It's actually even more broken as of js-sdk 33.0.0, thanks to the switch to ES modules (#4187), but we'll get to that later.
1 parent 0210106 commit c91fca0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/node/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
"version": "0.0.0",
44
"description": "",
55
"main": "app.js",
6-
"scripts": {
7-
"preinstall": "npm install ../.."
8-
},
96
"author": "",
107
"license": "Apache 2.0",
118
"dependencies": {
12-
"cli-color": "^1.0.0"
9+
"cli-color": "^1.0.0",
10+
"matrix-js-sdk": "^32.0.0"
1311
}
1412
}

0 commit comments

Comments
 (0)