-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README now the js-sdk has a transpile step #2921
Conversation
@@ -58,8 +58,11 @@ to build. | |||
1. Install the prerequisites: `npm install` | |||
1. If you are using the `develop` branch of vector-web, you will probably need | |||
to rebuild one of the dependencies, due to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/one/some
running `npm start` in the directory, to start a development builder which | ||
will watch for changes to the files and rebuild automatically. | ||
When you make changes to `matrix-react-sdk` or `matrix-js-sdk`, you will need | ||
to run `npm run build` in the relevant directory. You can do this automatically |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Annoyingly, I think it is npm run compile
for the js-sdk.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would obviously be preferable to fix this by bringing the js-sdk into line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in matrix-org/matrix-js-sdk#320 by having npm run build do the things you need (and more!)
https://github.com/npm/npm/issues/3055: `(cd node_modules/matrix-react-sdk | ||
&& npm install)` | ||
https://github.com/npm/npm/issues/3055: | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ptal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.