FRESH LINUX + HOLO-REA

My second attempt with more isolation between environments is here.

ZERO

Installed on a fresh Pop!_OS VM with chrome, vscode, and nvm installed.

I've done some other stuff first. I had installed nvm, but I don't have access to it in the nix-shell (see below). The only other thing I did was folow the instructions to install cachix and use the holochain-ci config from rea-playspace readme:

nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use holochain-ci

ZERO AND A HALF

After completing everthing I've laid in this document, I decided to check which pnpm I was using:

[nix-shell:~/workspace/holo-rea]$ which pnpm 
/home/jillburrows/.nvm/versions/node/v14.19.0/bin/pnpm

So it turns out that nvm acutally did have a bearing on this all along due to nvm being at the end of my PATH, catching every request to execute pnpm.

For a multiuser install of nix we can run the following command to make sure the binary in nix takes precedence over nvm's:

sudo -E $(which npm) -g i pnpm

For a single user install of nix, then you have write permission to your nix directory:

npm -g i pnpm

Otherwise, before you start the nix-shell on a fresh install of nvm, do this (knowing that it will execute the version of pnpm from your nvm directory using the first node found on your path from nix; those two could be incompatible):

corepack enable

Now you should actually be set to go forth and holo-rea.

ONE

Basic steps to get set up:

git clone git@github.com:holo-rea/holo-rea.git
cd holo-rea
git remote add connor git@github.com:Connoropolous/holo-rea.git
git fetch --all
git checkout 0.0.22-alpha
nix-shell

Wait for a very long time while the whole environment downloads.

TWO

Let's install the deps:

[nix-shell:~/workspace/holo-rea]$ pnpm i
Scope: all 5 workspace projects
 ERROR  No package.json (or package.yaml, or package.json5) was found in "/home/jillburrows/workspace/holo-rea/modules/vf-graphql-holochain/build".

Well, that failed because it's looking for the built modules/vf-graphql-holochain/build module, which hasn't been built yet. The directory doesn't even exist.

Let's see what works right now.

THREE

Let's run the preinstall hook:

[nix-shell:~/workspace/holo-rea]$ pnpm preinstall

> holo-rea@0.0.1 preinstall /home/jillburrows/workspace/holo-rea
> npx only-allow pnpm && scripts/preinstall.sh

Need to install the following packages:
  only-allow
Ok to proceed? (y) y
npm notice 
npm notice New minor version of npm available! 8.1.0 -> 8.5.3
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.5.3
npm notice Run npm install -g npm@8.5.3 to update!
npm notice 

Let's run the postinstall hook:

[nix-shell:~/workspace/holo-rea]$ pnpm postinstall

> holo-rea@0.0.1 postinstall /home/jillburrows/workspace/holo-rea
> scripts/postinstall.sh

Nix is installed- simply run `nix-shell` to begin developing!

FOUR

Let's build the crates, because why not?

[nix-shell:~/workspace/holo-rea]$ npm run build:crates

> holo-rea@0.0.1 build:crates
> CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown && RUN_WASM_OPT=0 scripts/package-dnas.sh

[Lots of output building crates.]
[A few minutes later]

Compiling DNA in happs/agent
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/agent/hrea_agent.dna
    packing succeeded.
Compiling DNA in happs/agreement
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/agreement/hrea_agreement.dna
    packing succeeded.
Compiling DNA in happs/observation
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/observation/hrea_observation.dna
    packing succeeded.
Compiling DNA in happs/planning
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/planning/hrea_planning.dna
    packing succeeded.
Compiling DNA in happs/proposal
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/proposal/hrea_proposal.dna
    packing succeeded.
Compiling DNA in happs/specification
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/specification/hrea_specification.dna
    packing succeeded.
Bundling hApp in bundles/full_suite
Wrote bundle /home/jillburrows/workspace/holo-rea/bundles/full_suite/hrea_suite.happ
    packing succeeded.
Bundling hApp in bundles/obs_and_agent
Wrote bundle /home/jillburrows/workspace/holo-rea/bundles/obs_and_agent/hrea_obs_agent.happ
    packing succeeded.

FIVE

Cool, that worked just fine. Rust in the nix-shell works perfectly. Let's try the build, knowing it will fail due to deps:

[nix-shell:~/workspace/holo-rea]$ pnpm run build

> holo-rea@0.0.1 build /home/jillburrows/workspace/holo-rea
> npm-run-all --parallel build:graphql build:crates

sh: line 1: npm-run-all: command not found
 ERROR  Command failed.

Ok, this failed because our deps aren't met, but can we get them met?

Install npm-run-all in the multi user nix environment (this is a terrible hack for my multiuser nix install, don't mind the mess):

sudo -E $(which npm) -g i npm-run-all

Let's try build:graphql:

[nix-shell:~/workspace/holo-rea]$ npm run build:graphql

> holo-rea@0.0.1 build:graphql
> npm-run-all build:graphql:adapter build:graphql:client


> holo-rea@0.0.1 build:graphql:adapter
> cd modules/vf-graphql-holochain && npm run build


> @valueflows/vf-graphql-holochain@0.0.1-alpha.3 build
> tsc -p ./tsconfig.dev.json; node ./finish-build

sh: line 1: tsc: command not found
node:internal/fs/utils:344
    throw err;
    ^

Error: ENOENT: no such file or directory, copyfile '/home/jillburrows/workspace/holo-rea/LICENSE' -> '/home/jillburrows/workspace/holo-rea/modules/vf-graphql-holochain/build/LICENSE'
    at Object.copyFileSync (node:fs:2800:3)
    at Object.<anonymous> (/home/jillburrows/workspace/holo-rea/modules/vf-graphql-holochain/finish-build.js:14:4)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  errno: -2,
  syscall: 'copyfile',
  code: 'ENOENT',
  path: '/home/jillburrows/workspace/holo-rea/LICENSE',
  dest: '/home/jillburrows/workspace/holo-rea/modules/vf-graphql-holochain/build/LICENSE'
}
ERROR: "build:graphql:adapter" exited with 1.

OK, so we don't have a few things:

  1. tsc
  2. the LICENSE file?
  3. Ah, none of our deps installed, because it failed back in step two

SIX

OK, this is fun! Let's edit some things for consistency. First, let's edit pnpm-workspace.yaml. The current version is looking at all the subdirectories and even the modules' build directories, which aren't even there yet. Lets replace it with this:

packages:
  - 'modules/vf-graphql-holochain'
  - 'modules/graphql-client'
  - 'apps/holorea-graphql-explorer'

Ok, let's try this again.

[nix-shell:~/workspace/holo-rea]$ pnpm i  
Scope: all 4 workspace projects
 ERROR  No package.json (or package.yaml, or package.json5) was found in "/home/jillburrows/workspace/holo-rea/modules/vf-graphql-holochain/build".

Four workspace projects is not an off by one error: current dir plus the three listed in the pnpm-workspace.yaml config. That's the right number.

However, the pnpm-lock.yaml must still be pointing to the modules that haven't been built, let's hack it and remove the sections that refer to the unbuilt modules{modules/vf-graphql-holochain/build, modules/graphql-client/build}.

Since we don't really need to be pointing to the built modules in our dev code that will go through a transpiler anyways, let's just change the reference in the graphql-client's package.json:

diff --git a/modules/graphql-client/package.json b/modules/graphql-client/package.json
index 224eaf85..5289e39c 100644
--- a/modules/graphql-client/package.json
+++ b/modules/graphql-client/package.json
@@ -28,7 +28,7 @@
   },
   "homepage": "https://github.com/holo-rea/holo-rea#readme",
   "dependencies": {
-    "@valueflows/vf-graphql-holochain": "link:../vf-graphql-holochain/build",
+    "@valueflows/vf-graphql-holochain": "link:../vf-graphql-holochain",
     "@apollo/link-schema": "^2.0.0-beta.3",
     "tslib": "^2.0.0"
   },

Third time's a charm! Let's try again:

[nix-shell:~/workspace/holo-rea]$ pnpm i
Scope: all 4 workspace projects
modules/graphql-client                   |  WARN  deprecated tslint-config-standard@8.0.1
modules/vf-graphql-holochain             |  WARN  deprecated tslint-config-standard@8.0.1
 WARN  hygen: ts-jest@24.3.0 requires a peer of jest@>=24 <25 but none was installed.
modules/graphql-client                   |  WARN  @apollo/client: @graphql-typed-document-node/core@3.1.1 requires a peer of graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 but none was installed.
modules/graphql-client                   |  WARN  @apollo/client: graphql-tag@2.12.6 requires a peer of graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 but none was installed.
modules/graphql-client                   |  WARN  @apollo/client@3.5.8 requires a peer of graphql@^14.0.0 || ^15.0.0 || ^16.0.0 but none was installed.
modules/graphql-client                   |  WARN  tslint-config-standard: tslint-eslint-rules@5.4.0 requires a peer of typescript@^2.2.0 || ^3.0.0 but version 4.5.5 was installed.
 WARN  9 other warnings
Packages: +1475
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Packages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /home/jillburrows/.pnpm-store/v3
  Virtual store is at:             node_modules/.pnpm
Downloading registry.npmjs.org/typescript/4.5.5: 11.3 MB/11.3 MB, done
Progress: resolved 1474, reused 0, downloaded 1474, added 1475, done
node_modules/.pnpm/core-js-pure@3.20.3/node_modules/core-js-pure: Running postinstall script...
node_modules/.pnpm/core-js@3.20.3/node_modules/core-js: Running postinstall script...
node_modules/.pnpm/core-js-pure@3.20.3/node_modules/core-js-pure: Running postinstall script, done in 691ms
node_modules/.pnpm/core-js@3.20.3/node_modules/core-js: Running postinstall script, done in 627msissues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
node_modules/.pnpm/ejs@2.7.4/node_modules/ejs: Running postinstall script, done in 812ms
node_modules/.pnpm/nodemon@1.19.4/node_modules/nodemon: Running postinstall script, done in 542ms

devDependencies:
+ hygen 5.0.3
+ npm-run-all 4.1.5
+ npm-watch 0.6.0

. preinstall$ npx only-allow pnpm && scripts/preinstall.sh
└─ Done in 29.2s
modules/graphql-client prepare$ npm run build
│ > @vf-ui/graphql-client-holochain@0.0.1 build
│ > tsc -p ./tsconfig.dev.json; node ./finish-build
│ ../vf-graphql-holochain/queries/agent.ts(36,7): error TS2740: Type '{ id: string; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.
│ ../vf-graphql-holochain/queries/agent.ts(57,7): error TS2740: Type '{ id: any; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.
└─ Done in 22.7s
modules/vf-graphql-holochain prepare$ npm run build
│ > @valueflows/vf-graphql-holochain@0.0.1-alpha.3 build
│ > tsc -p ./tsconfig.dev.json; node ./finish-build
│ queries/agent.ts(36,7): error TS2740: Type '{ id: string; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.
│ queries/agent.ts(57,7): error TS2740: Type '{ id: any; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.
└─ Done in 23.7s
. postinstall$ scripts/postinstall.sh
│ Nix is installed- simply run `nix-shell` to begin developing!
└─ Done in 262ms

Success! Now maybe I should get rid of that global npm-run-all in the nix-shell and try this from scratch with the changes.

[nix-shell:~/workspace/holo-rea]$ sudo -E $(which npm) -g uninstall npm-run-all
[nix-shell:~/workspace/holo-rea]$ pnpm i
Scope: all 4 workspace projects
Lockfile is up-to-date, resolution step is skipped
Already up-to-date
. preinstall$ npx only-allow pnpm && scripts/preinstall.sh
└─ Running...
modules/graphql-client prepare$ npm run build
└─ Done in 18s
modules/vf-graphql-holochain prepare$ npm run build
│ > @vf-ui/graphql-client-holochain@0.0.1 builda.3 build
│ > tsc -p ./tsconfig.dev.json; node ./finish-build
└─ Done in 10.7s
modules/vf-graphql-holochain prepare$ npm run build
│ > @valueflows/vf-graphql-holochain@0.0.1-alpha.3 buildrning was created)
│ > tsc -p ./tsconfig.dev.json; node ./finish-build
│ queries/agent.ts(36,7): error TS2740: Type '{ id: string; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.
│ queries/agent.ts(57,7): error TS2740: Type '{ id: any; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.
└─ Done in 13.2s
. postinstall$ scripts/postinstall.sh
│ Nix is installed- simply run `nix-shell` to begin developing!
└─ Done in 51ms

Yes, this is very much a success.

SEVEN

Let's build the app:

[nix-shell:~/workspace/holo-rea]$ pnpm run build:apps 

> holo-rea@0.0.1 build:apps /home/jillburrows/workspace/holo-rea
> npm run build:apps:explorer


> holo-rea@0.0.1 build:apps:explorer
> npm run build:graphql:adapter && cd apps/holorea-graphql-explorer && npm run build


> holo-rea@0.0.1 build:graphql:adapter
> cd modules/vf-graphql-holochain && npm run build


> @valueflows/vf-graphql-holochain@0.0.1-alpha.3 build
> tsc -p ./tsconfig.dev.json; node ./finish-build

queries/agent.ts:36:7 - error TS2740: Type '{ id: string; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.

36       return {
         ~~~~~~~~
37         id: `${agentPubKey}:${mappedDNA}`,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38         name: `Agent ${agentPubKey.substr(2, 4)}`,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39       }
   ~~~~~~~

queries/agent.ts:57:7 - error TS2740: Type '{ id: any; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.

57       return {
         ~~~~~~~~
58         id,
   ~~~~~~~~~~~
59         name: `Agent ${id.substr(2, 4)}`,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60       }
   ~~~~~~~


Found 2 errors.


> holorea-graphql-explorer@0.1.0 build
> rimraf ui.zip && rimraf build && react-scripts build && cd ./build && bestzip ../ui.zip *

Creating an optimized production build...
Compiled with warnings.

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/app.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/app.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/common.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/types.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/types.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/environments/launcher.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/environments/launcher.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/index.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/capabilities.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/capabilities.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/common.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/dht-ops.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/dht-ops.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/entry.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/entry.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/header.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/header.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/index.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/index.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/admin.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/admin.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/app.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/app.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/client.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/client.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/common.ts'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

File sizes after gzip:

  362.1 kB  build/static/js/main.f01f44b2.js
  6.6 kB    build/static/css/main.2bc90fe7.css

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

  npm install -g serve
  serve -s build

Find out more about deployment here:

  https://cra.link/deployment

Writing asset-manifest.json, favicon.ico, index.html, manifest.json, static to ../ui.zip...
zipped!

Nice! It mostly worked. In fact it wrote the ui.zip file.

Don't worry about the typescript errors, they are using a subset of the defined fields of the type, which doesn't matter for JS, but typescript doesn't like it. The type should actually be defined as a Partial<T> or have the non-essential properties be defined as optional properties.

We got another set of errors all related to:

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts'

I'll have to look into this more.

Strangely, If I run pnpm run build I get:

[nix-shell:~/workspace/holo-rea]$ pnpm build

> holo-rea@0.0.1 build /home/jillburrows/workspace/holo-rea
> npm-run-all --parallel build:graphql build:crates


> holo-rea@0.0.1 build:graphql /home/jillburrows/workspace/holo-rea
> npm-run-all build:graphql:adapter build:graphql:client


> holo-rea@0.0.1 build:crates /home/jillburrows/workspace/holo-rea
> CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown && RUN_WASM_OPT=0 scripts/package-dnas.sh


> holo-rea@0.0.1 build:graphql:adapter /home/jillburrows/workspace/holo-rea
> cd modules/vf-graphql-holochain && npm run build

    Finished release [optimized] target(s) in 2.34s
Compiling DNA in happs/agent
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/agent/hrea_agent.dna
    packing succeeded.
Compiling DNA in happs/agreement

> @valueflows/vf-graphql-holochain@0.0.1-alpha.3 build
> tsc -p ./tsconfig.dev.json; node ./finish-build

Wrote bundle /home/jillburrows/workspace/holo-rea/happs/agreement/hrea_agreement.dna
    packing succeeded.
Compiling DNA in happs/observation
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/observation/hrea_observation.dna
    packing succeeded.
Compiling DNA in happs/planning
Wrote bundle /home/jillburrows/workspace/holo-rea/happs/planning/hrea_planning.dna
    packing succeeded.
Compiling DNA in happs/proposal
queries/agent.ts:36:7 - error TS2740: Type '{ id: string; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.

36       return {
         ~~~~~~~~
37         id: `${agentPubKey}:${mappedDNA}`,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38         name: `Agent ${agentPubKey.substr(2, 4)}`,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39       }
   ~~~~~~~

queries/agent.ts:57:7 - error TS2740: Type '{ id: any; name: string; }' is missing the following properties from type 'Agent': commitments, economicEvents, intents, inventoriedEconomicResources, and 4 more.

57       return {
         ~~~~~~~~
58         id,
   ~~~~~~~~~~~
59         name: `Agent ${id.substr(2, 4)}`,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60       }
   ~~~~~~~


Found 2 errors.

Wrote bundle /home/jillburrows/workspace/holo-rea/happs/proposal/hrea_proposal.dna
    packing succeeded.
Compiling DNA in happs/specification

> holo-rea@0.0.1 build:graphql:client /home/jillburrows/workspace/holo-rea
> cd modules/graphql-client && npm run build

Wrote bundle /home/jillburrows/workspace/holo-rea/happs/specification/hrea_specification.dna
    packing succeeded.
Bundling hApp in bundles/full_suite

> @vf-ui/graphql-client-holochain@0.0.1 build
> tsc -p ./tsconfig.dev.json; node ./finish-build

Wrote bundle /home/jillburrows/workspace/holo-rea/bundles/full_suite/hrea_suite.happ
    packing succeeded.
Bundling hApp in bundles/obs_and_agent
Wrote bundle /home/jillburrows/workspace/holo-rea/bundles/obs_and_agent/hrea_obs_agent.happ
    packing succeeded.

Which indicates a complete success.

EIGHT

Running the DHT:

[nix-shell:~/workspace/holo-rea]$ pnpm run dht

> holo-rea@0.0.1 dht /home/jillburrows/workspace/holo-rea
> npm run dht:conductor


> holo-rea@0.0.1 dht:conductor
> scripts/run-dev-conductor.sh

hc-sandbox: Creating 1 conductor sandboxes with same settings
hc-sandbox: Config ConductorConfig { environment_path: EnvironmentRootPath("/tmp/tmp.e7Bs9oeFKo/hrea_tester"), keystore: LairServerLegacyDeprecated { keystore_path: Some("/tmp/tmp.e7Bs9oeFKo/hrea_tester/keystore"), danger_passphrase_insecure_from_config: "default-insecure-passphrase" }, dpki: None, admin_interfaces: Some([AdminInterfaceConfig { driver: Websocket { port: 0 } }]), network: None, db_sync_strategy: Fast }
hc-sandbox: Created directory at: /tmp/tmp.e7Bs9oeFKo/hrea_tester Keep this path to rerun the same sandbox
hc-sandbox: Created config at /tmp/tmp.e7Bs9oeFKo/hrea_tester/conductor-config.yaml
hc-sandbox: Created ["/tmp/tmp.e7Bs9oeFKo/hrea_tester"]
Mar 07 19:39:25.243 ERROR lair_keystore_client: error=IpcClientConnectError("/tmp/tmp.e7Bs9oeFKo/hrea_tester/keystore/socket", Os { code: 2, kind: NotFound, message: "No such file or directory" }) file="/build/cargo-vendor-dir/lair_keystore_client-0.0.9/src/lib.rs" line=41

Conductor ready.
hc-sandbox: Installed App: hrea_obs_agent

hc-sandbox: Running conductor on admin port 41151
Conductor ready.
hc-sandbox: Attaching app port 4000
hc-sandbox: App port attached at 4000
hc-sandbox: Connected successfully to a running holochain
hc-sandbox: Attaching app port 4000
hc-sandbox: App port attached at 4000
hc-sandbox: Connected successfully to a running holochain
Mar 07 20:02:11.739 ERROR holochain_sqlite::db: Connection pool took 25.388406ms to be free'd
Mar 07 20:02:22.940 ERROR holochain_sqlite::db: Connection pool took 73.260837ms to be free'd
Mar 07 20:02:22.945 ERROR holochain_sqlite::db: Connection pool took 81.027579ms to be free'd
Mar 07 20:02:23.175 ERROR holochain_sqlite::db: Connection pool took 70.855557ms to be free'd

NINE

Running the webserver. I went ahead and edited the BROWSER=none line in apps/holorea-graphql-explorer/package.json to BROWSER=chrome.

pnpm run dev:graphql:explorer

It pauses for a while and then emits:

Compiled with warnings.

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/app.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/app.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/common.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/types.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/types.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/environments/launcher.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/environments/launcher.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/index.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/capabilities.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/capabilities.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/common.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/dht-ops.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/dht-ops.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/entry.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/entry.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/header.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/header.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/index.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/index.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/admin.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/admin.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/app.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/app.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/client.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/client.ts'

Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/common.ts'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

asset static/js/bundle.js 4.72 MiB [emitted] (name: main) 1 related asset
asset index.html 1.62 KiB [emitted]
asset asset-manifest.json 190 bytes [emitted]
orphan modules 55.3 KiB [orphan] 42 modules
runtime modules 28.2 KiB 13 modules
modules by path ../../node_modules/.pnpm/ 3.74 MiB 512 modules
modules by path ../../modules/vf-graphql-holochain/build/ 122 KiB 48 modules
modules by path ./src/ 22.6 KiB
  modules by path ./src/*.css 9.58 KiB 4 modules
  modules by path ./src/*.tsx 7.49 KiB 2 modules
  ./src/serviceWorker.ts 5.54 KiB [built] [code generated]
asset modules 1.43 KiB
  data:image/png;base64,iVBORw0KGgoAAAAN.. 295 bytes [built] [code generated]
  data:image/png;base64,iVBORw0KGgoAAAAN.. 324 bytes [built] [code generated]
  data:image/png;base64,iVBORw0KGgoAAAAN.. 296 bytes [built] [code generated]
  + 2 modules

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/api/admin.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/admin.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 1:0-28 1:0-28
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/api/app.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/app.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/app.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 2:0-26 2:0-26
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/api/common.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/common.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/admin.js 20:0-53 24:44-64
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 4:0-34 4:0-34
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/api/types.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/types.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/api/types.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 3:0-28 3:0-28
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/environments/launcher.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/environments/launcher.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/environments/launcher.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/admin.js 21:0-66 58:22-44
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 4:0-34 4:0-34
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/index.ts'
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/capabilities.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/capabilities.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/capabilities.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/index.js 1:0-31 1:0-31
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 6:0-24 6:0-24
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/common.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/common.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/index.js 2:0-25 2:0-25
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 6:0-24 6:0-24
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/dht-ops.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/dht-ops.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/dht-ops.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/index.js 3:0-26 3:0-26
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 6:0-24 6:0-24
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/entry.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/entry.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/entry.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/index.js 4:0-24 4:0-24
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 6:0-24 6:0-24
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/header.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/header.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/header.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/index.js 5:0-25 5:0-25
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 6:0-24 6:0-24
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/types/index.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/index.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/types/index.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 6:0-24 6:0-24
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/admin.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/admin.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/admin.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 4:0-34 4:0-34
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/app.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/app.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/app.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 5:0-32 5:0-32
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/client.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/client.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/client.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/admin.js 18:0-36 64:27-43
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 4:0-34 4:0-34
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

WARNING in ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/common.js
Module Warning (from ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.67.0/node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/common.ts' file: Error: ENOENT: no such file or directory, open '/home/jillburrows/workspace/holo-rea/node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/src/websocket/common.ts'
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/websocket/admin.js 19:0-71 24:83-97 24:166-176 53:57-72
 @ ../../node_modules/.pnpm/@holochain+client@0.3.2/node_modules/@holochain/client/lib.es/index.js 4:0-34 4:0-34
 @ ../../modules/vf-graphql-holochain/build/connection.js 29:17-45
 @ ../../modules/vf-graphql-holochain/build/index.js 28:21-44
 @ ./src/App.tsx 11:0-78 55:8-22 80:25-35
 @ ./src/index.tsx 7:0-24 9:50-53

16 warnings have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.

webpack 5.67.0 compiled with 16 warnings in 49436 ms
No issues found.

Other than the same warnings/errors as before, it opens chrome, builds fine, and we move on with our lives.

It would be nice to figure out why it keeps trying to access source maps/files that aren't there.

Select a repo