Timestamp Message
23 Feb 2020
05:50:48@remaeus:roleplaygateway.comRemæus
In reply to @fishbucket:roleplaygateway.com
yarn run v1.22.0
$ npm run compile && node rpg.js
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1582436328722-0.24235193140966782/node but npm is using /home/andolen/.nvm/versions/node/v10.17.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> @fabric/rpg@0.2.0-dev compile /home/andolen/rpg
> node scripts/build.js && npm run build:scripts

[FABRIC:HTTP] creating new APP with: { name: '@rpg/core',
  synopsis: 'a powerful engine for running peer-to-peer games',
  interval: '60000',
  authority: 'chat.roleplaygateway.com:9999',
  entropy:
   '6170cc426cbe663cef4342dc73860f2ab26c0c0e411c390ca064208bada65e6e',
  provide: [ 'rpg' ],
  secure: true,
  height: 256,
  width: 256,
  depth: 256,
  path: './stores/chat.roleplaygateway.com',
  seed: 'alpha beta kappa gamma delta omega',
  resources:
   { Character: { name: 'Character', components: [Object] },
     Map: { name: 'Map', components: [Object] },
     Tile: { name: 'Tile', components: [Object] },
     Peer: { name: 'Peer', components: [Object] },
     Place: { name: 'Place', components: [Object] },
     Player:
      { name: 'Player',
        author: 'Fabric Labs',
        components: [Object],
        description: 'Represents the player in the game world.',
        site: 'https://fabric.pub/' } } }
[MAKI:ROLLER] Compiling SPA to assets/index.html...
[MAKI:ROLLER] 2357 bytes written to assets/index.html with sha256(H) = a6e56f7996c1e43cdadf55c4c0f4b9c699548fb047b31013e140d20a35cb18d5 ~
npm WARN lifecycle The node binary used for scripts is /tmp/yarn--1582436328722-0.24235193140966782/node but npm is using /home/andolen/.nvm/versions/node/v10.17.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> @fabric/rpg@0.2.0-dev build:scripts /home/andolen/rpg
> webpack scripts/rpg.js

Hash: f87c1a92d049aba7c639
Version: webpack 4.41.6
Time: 4237ms
Built at: 02/22/2020 11:38:54 PM
     Asset      Size  Chunks             Chunk Names
rpg.min.js  9.37 MiB    main  [emitted]  main
Entrypoint main = rpg.min.js
[../fabric/index.js] 1.26 KiB {main} [built]
[../fabric/lib/fabric.js] 11.9 KiB {main} [built]
[../fabric/types sync recursive] ../fabric/types sync 160 bytes {main} [optional] [built]
[../fabric/types/circuit.js] 5.17 KiB {main} [built]
[../fabric/types/collection.js] 9.06 KiB {main} [built]
[../fabric/types/entity.js] 3.85 KiB {main} [built]
[../fabric/types/hash256.js] 1.21 KiB {main} [built]
[../fabric/types/key.js] 1.68 KiB {main} [built]
[../fabric/types/machine.js] 3.59 KiB {main} [built]
[../fabric/types/observer.js] 198 bytes {main} [built]
[../fabric/types/service.js] 16.2 KiB {main} [built]
[./config.json] 1.4 KiB {main} [built]
[./constants.js] 954 bytes {main} [built]
[./scripts/rpg.js] 11.8 KiB {main} [built]
[./types/rpg.js] 12.1 KiB {main} [built]
    + 1103 hidden modules

WARNING in ../fabric/types/service.js 127:15-29
Critical dependency: the request of a dependency is an expression
 @ ./scripts/rpg.js

WARNING in ../fabric/types/service.js 131:17-34
Critical dependency: the request of a dependency is an expression
 @ ./scripts/rpg.js

WARNING in ../web/node_modules/@fabric/core/types/service.js 112:15-29
Critical dependency: the request of a dependency is an expression
 @ ../web/types/component.js
 @ ./components/character-view.js
 @ ./scripts/rpg.js

WARNING in ../web/node_modules/@fabric/core/types/service.js 116:17-34
Critical dependency: the request of a dependency is an expression
 @ ../web/types/component.js
 @ ./components/character-view.js
 @ ./scripts/rpg.js

WARNING in ../fabric/node_modules/bcoin/lib/bcoin.js 36:16-29
Critical dependency: the request of a dependency is an expression
 @ ../fabric/types/wallet.js
 @ ../fabric/lib/fabric.js
 @ ../fabric/index.js
 @ ./scripts/rpg.js

WARNING in ../fabric/node_modules/bcash/lib/bcoin.js 36:16-29
Critical dependency: the request of a dependency is an expression
 @ ../fabric/types/consensus.js
 @ ../fabric/types/wallet.js
 @ ../fabric/lib/fabric.js
 @ ../fabric/index.js
 @ ./scripts/rpg.js

ERROR in ./components/application.js
Module not found: Error: Can't resolve './authority' in '/home/andolen/rpg/components'
 @ ./components/application.js 8:18-40
 @ ./components/rpg.js
 @ ./scripts/rpg.js

ERROR in ./components/application.js
Module not found: Error: Can't resolve './canvas' in '/home/andolen/rpg/components'
 @ ./components/application.js 9:15-34
 @ ./components/rpg.js
 @ ./scripts/rpg.js

ERROR in ./components/application.js
Module not found: Error: Can't resolve './history' in '/home/andolen/rpg/components'
 @ ./components/application.js 10:16-36
 @ ./components/rpg.js
 @ ./scripts/rpg.js

ERROR in ./components/application.js
Module not found: Error: Can't resolve './swarm' in '/home/andolen/rpg/components'
 @ ./components/application.js 11:14-32
 @ ./components/rpg.js
 @ ./scripts/rpg.js

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/chain-list' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 74:18-65

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/chain-view' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 75:18-65

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/deposit-list' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 29:20-69

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/deposit-view' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 30:20-69

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/depositor-list' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 31:22-73

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/depositor-view' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 32:22-73

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/order-list' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 33:18-65

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/order-view' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 34:18-65

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/swap-list' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 35:17-63

ERROR in ./scripts/rpg.js
Module not found: Error: Can't resolve '@portal/bridge/components/swap-view' in '/home/andolen/rpg/scripts'
 @ ./scripts/rpg.js 36:17-63
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @fabric/rpg@0.2.0-dev build:scripts: `webpack scripts/rpg.js`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the @fabric/rpg@0.2.0-dev build:scripts script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/andolen/.npm/_logs/2020-02-23T05_38_54_483Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @fabric/rpg@0.2.0-dev compile: `node scripts/build.js && npm run build:scripts`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the @fabric/rpg@0.2.0-dev compile script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/andolen/.npm/_logs/2020-02-23T05_38_54_499Z-debug.log
error Command failed with exit code 2.

Still failed, but it failed differently

I'll take a look at this later tonight and push any fixes, you will have to pull them down locally if I find the problem
05:50:58@fishbucket:roleplaygateway.comFancy Crabthat'll be fun.
05:51:13@remaeus:roleplaygateway.comRemæus git fetch fabric will sync with latest stuff next time, without changing your local
05:51:16@fishbucket:roleplaygateway.comFancy CrabAs long as I can puzzle out exactly what the fix is and how it fixes the problem
05:51:25@fishbucket:roleplaygateway.comFancy Crabthat's the hard part for me
05:51:31@fishbucket:roleplaygateway.comFancy CrabI don't understand a lot of what i'm doing here
05:51:32@remaeus:roleplaygateway.comRemæusit's a dependency issue, might be some leftover code from a recent demo
05:51:42@fishbucket:roleplaygateway.comFancy CrabSee, you say it's a dependency issue
05:51:45@fishbucket:roleplaygateway.comFancy Crabbut I have no idea what that means
05:51:58@remaeus:roleplaygateway.comRemæusnothing you need to care about at this stage, something I need to clean up
05:52:18@remaeus:roleplaygateway.comRemæusold code left over that I apparently didn't remove
05:52:25@fishbucket:roleplaygateway.comFancy Crab shrug That's all well and good I suppose, but I still want to know. This stuff is interesting.
05:53:06@fishbucket:roleplaygateway.comFancy CrabI have no idea what a lot of all this going on means or is. Most of what i'm putting in here I'm just following your instructions and giving back what it returns without understanding a lick of it.
05:53:43@remaeus:roleplaygateway.comRemæuswell you're getting an intuition by moving around in the terminal, and these commands should be written down somewhere so you have them by reference and can add notes
05:53:55@fishbucket:roleplaygateway.comFancy Crabmmmhmmm
05:54:05@fishbucket:roleplaygateway.comFancy Craband when i have some free time i can look up my questions on google
05:54:10@fishbucket:roleplaygateway.comFancy Crabsuch as "what is a module"
05:54:23@fishbucket:roleplaygateway.comFancy Crabor "what does a JSON mean/do
05:54:37@remaeus:roleplaygateway.comRemæus yarn link is the magic thing here, we set up 3 repositories, rpg pulling in @fabric/core and @fabric/http from your local version, which you can edit freely
05:54:50@fishbucket:roleplaygateway.comFancy Crabit sounds awesome.
05:54:54@remaeus:roleplaygateway.comRemæus git checkout -b branch-name to create a new branch
05:55:09@remaeus:roleplaygateway.comRemæususually done any time you want to implement something or change something, no matter how small
05:55:39@remaeus:roleplaygateway.comRemæus after this we'll do git commit and git push to share your changes, but removing the old code breaking your build is my priority right now
05:56:04@remaeus:roleplaygateway.comRemæusone of those "works for me" situations I only discover when someone else goes through from scratch
05:56:32@remaeus:roleplaygateway.comRemæusideally we're doing this on a daily basis, enough incoming developers to comb out issues on as many machines as possible
05:57:00@remaeus:roleplaygateway.comRemæusleaving behind instructions where none exist, updating old guides where they do
05:57:40@remaeus:roleplaygateway.comRemæus One of our overarching goals is to make it easy to go from 0-to-coder simply by using "view source" and following the instructions
05:57:48@remaeus:roleplaygateway.comRemæusMaximize creators
24 Feb 2020
21:03:24@discord_414671643483439105:fabric.pubButterfly Effect#8475 changed their display name from Moon Cultist#8475 to Butterfly Effect#8475.
21:03:42@discord_414671643483439105:fabric.pubButterfly Effect#8475 changed their profile picture.

There are no newer messages yet.