Skip to content

Instantly share code, notes, and snippets.

@ara4n
Created March 5, 2020 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ara4n/634a70e0d2fb1a329bcd0a2b15c91349 to your computer and use it in GitHub Desktop.
Save ara4n/634a70e0d2fb1a329bcd0a2b15c91349 to your computer and use it in GitHub Desktop.
matrix-appservice-irc
bucephalus:tmp matthew$ git clone git+ssh://git@github.com/matrix-org/matrix-appservice-irc
Cloning into 'matrix-appservice-irc'...
remote: Enumerating objects: 197, done.
remote: Counting objects: 100% (197/197), done.
remote: Compressing objects: 100% (142/142), done.
remote: Total 16877 (delta 100), reused 118 (delta 50), pack-reused 16680
Receiving objects: 100% (16877/16877), 3.85 MiB | 5.95 MiB/s, done.
Resolving deltas: 100% (12119/12119), done.
bucephalus:tmp matthew$ cd matrix-appservice-irc/
bucephalus:matrix-appservice-irc matthew$ yarn install
yarn install v1.21.1
info No lockfile found.
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/5] 🔍 Validating package.json...
[2/5] 🔍 Resolving packages...
warning matrix-appservice > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning matrix-appservice-bridge > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning matrix-appservice-bridge > matrix-js-sdk > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning matrix-appservice-bridge > matrix-js-sdk > babel-runtime > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning matrix-lastactive > matrix-bot-sdk > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
warning request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[3/5] 🚚 Fetching packages...
[4/5] 🔗 Linking dependencies...
[5/5] 🔨 Building fresh packages...
success Saved lockfile.
warning Your current version of Yarn is out of date. The latest version is "1.22.0", while you're on "1.21.1".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
$ npm run build
npm WARN lifecycle The node binary used for scripts is /var/folders/j2/fgy1pqy941v7nfc6w5vlpxqc0000gn/T/yarn--1583425316372-0.40047374704258254/node but npm is using /usr/local/Cellar/node@12/12.13.1/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.
> matrix-appservice-irc@0.16.0 build /Users/matthew/tmp/matrix-appservice-irc
> tsc --project ./tsconfig.json
✨ Done in 37.54s.
bucephalus:matrix-appservice-irc matthew$ cp config.sample.yaml config.yaml
bucephalus:matrix-appservice-irc matthew$ node app.js -r -f my_registration_file.yaml -u "http://where.the.appservice.listens:9999" -c config.yaml -l my_bot
Output registration to: /Users/matthew/tmp/matrix-appservice-irc/my_registration_file.yaml
bucephalus:matrix-appservice-irc matthew$ node app.js -c config.yaml -f my_registration_file.yaml -p 9999
2020-03-05 16:24:03 INFO:IrcBridge Using PgDataStore for Datastore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment