@@ -58,8 +58,11 @@ to build.
58581 . Install the prerequisites: ` npm install `
59591 . If you are using the ` develop ` branch of vector-web, you will probably need
6060 to rebuild one of the dependencies, due to
61- https://github.com/npm/npm/issues/3055 : `(cd node_modules/matrix-react-sdk
62- && npm install)`
61+ https://github.com/npm/npm/issues/3055 :
62+ ```
63+ (cd node_modules/matrix-js-sdk && npm install)
64+ (cd node_modules/matrix-react-sdk && npm install)
65+ ```
63661 . Configure the app by copying ` config.sample.json ` to ` config.json ` and
6467 modifying it (see below for details)
65681 . ` npm run dist ` to build a tarball to deploy. Untaring this file will give
@@ -241,10 +244,10 @@ Finally, build and start Riot itself:
241244 disables caching, so do NOT use it in production.
2422451. Open http://127.0.0.1:8080/ in your browser to see your newly built Riot.
243246
244- When you make changes to `matrix-react-sdk`, you will need to run `npm run
245- build` in the relevant directory. You can do this automatically by instead
246- running `npm start` in the directory, to start a development builder which
247- will watch for changes to the files and rebuild automatically.
247+ When you make changes to `matrix-react-sdk` or `matrix-js-sdk` , you will need
248+ to run `npm run build` in the relevant directory. You can do this automatically
249+ by instead running `npm start` in the directory, to start a development builder
250+ which will watch for changes to the files and rebuild automatically.
248251
249252If you add or remove any components from the Riot skin, you will need to rebuild
250253the skin's index by running, `npm run reskindex`.
0 commit comments